resonance 1.0.1
Loading...
Searching...
No Matches
metloadnewfreqscreen.h
Go to the documentation of this file.
1#pragma once
2
3#include "met/metkbuser.h"
5
35public:
44 MetLoadNewFreqScreen(MetRenderer *pRenderer, int nPriority);
45
51
63 static MetScreen *New(MetRenderer *pRenderer, int nPriority);
64
75 virtual void EnterAndShow();
76
87 virtual void BeginExit();
88
99 virtual void OnKeyboardDismissed();
100
113 virtual void OnMsgScreenDismissed(const HxStr &name, int nChoice);
114
124 virtual void UpdateNameLabel();
125
137 virtual void OnNameButton();
138
151
162 virtual void OnCreateButton();
163
172 virtual void AcquireIdentityList();
173
185 virtual void BuildButtonList();
186
205 virtual void OnKeyboardTextEntered(const HxStr &text);
206
207private:
208 // Set by OnKeyboardTextEntered() when the keyboard commits a name, cleared by EnterAndShow(),
209 // and read by OnKeyboardDismissed() to tell a commit from a cancellation. +0xa8
210 int mNameEntered;
211};
Heap-allocated NUL-terminated string.
Definition hxstr.h:41
Mix-in for a screen that receives text from the front-end keyboard.
Definition metkbuser.h:24
MetLoadFreqBaseScreen(MetRenderer *pRenderer, int nPriority)
Construct the screen.
virtual void OnMsgScreenDismissed(const HxStr &name, int nChoice)
Restore this screen after a message screen is dismissed.
virtual void AcquireIdentityList()
Take the list of prefabricated identities the FreQ maker offers.
virtual void OnNameButton()
Open the keyboard to type a name for the new identity.
virtual void UpdateNameLabel()
Write the nf_enter label into the first button.
static MetScreen * New(MetRenderer *pRenderer, int nPriority)
Produce a new-identity load screen on the heap.
virtual ~MetLoadNewFreqScreen()
virtual void OnKeyboardDismissed()
Restore this screen after the keyboard closes.
virtual void PrepareFreqMakerForSelection()
Hand the selected identity to the FreQ maker.
virtual void OnCreateButton()
Create a new identity in the FreQ maker.
virtual void BeginExit()
Exit the prompt screen alongside this one, then begin the exit.
virtual void EnterAndShow()
Set the screen title and the prompt layout, then enter.
MetLoadNewFreqScreen(MetRenderer *pRenderer, int nPriority)
Construct the screen.
virtual void BuildButtonList()
Rebuild the button ring with a label on each of the three buttons.
virtual void OnKeyboardTextEntered(const HxStr &text)
Record the name the keyboard committed on the selected identity.
Front-end renderer that owns the screen stack and drives every MetScreen.
Definition metrenderer.h:68
MetScreen(MetRenderer *pRenderer, int nPriority, const HxStr &name, const HxStr &directory, const HxStr &file)
Construct a screen and start its container load.