329 void DispatchKeyName(
const HxStr &name);
331#ifdef VIDEO_STANDARD_PAL
340 void LocalizeKeyLabels();
351 void HighlightCurrentKey();
392 void ShowMacro(
const HxStr &key);
400 void InsertMacro(
int nIndex);
483 void OnCharacter(
const HxStr &key);
531 void UnhighlightKey(
const HxStr &key);
541 void RemoveChar(
int nIndex);
551 void AppendText(
const HxStr &text);
561 void InsertText(
const HxStr &text,
unsigned nPos);
589 bool IsMacroKey(
const HxStr &key);
597 void SetPendingCommand(
const HxStr &key);
610 void SetTickerText(
const HxStr &text);
622 void PressKey(
const HxStr &key);
630 void OnMacro(
int nIndex);
640 void SetText(
const HxStr &text);
650 void SetPrompt(
const HxStr &prompt);
670 void SetSelector(
int nSelector);
680 void SetTicker(
const HxStr &ticker);
688 void SetReturnScreen(
const HxStr &returnScreen);
692 std::vector<HxStr> *mMacros;
713 unsigned char mReserved[0x08];
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
virtual void OnEnterFinished()
Set the ticker from the recorded text.
virtual void OnRepeatingSoundFinished(Rnd::Button *pButton)
Restore the key buttons once a press has finished alternating.
static HxStr DefaultMacro(int nIndex)
Read one default keyboard macro from the configuration.
static void SetKeyboardReturnScreen(const HxStr &returnScreen)
Record the screen the registered keyboard departs to.
void ResetKeyStates()
Disable the twelve function keys.
virtual void BeginExit()
Clear the ticker and start the exit animation.
virtual ~MetKeyboardScreen()
virtual void EnterAndShow()
Show the keyboard and start its enter animation.
virtual void PlayHighSound(int nSelector)
Play the key sound that accompanies the emphasised selection.
static void Open(const MetKeyboardRequest &request)
Fill the registered keyboard from a request and bring it up over the requesting screen.
virtual void PlayCycleLeftSound(int nSelector)
Play the key sound that accompanies cycling a value to the left.
virtual void StartRepeatingSound(float flStartTime, float flInterval, Rnd::Button *pButton, int nCycles)
Apply the pending key and then start the base's alternation.
static std::vector< HxStr > * GetDefaultMacros()
Report the twelve default keyboard macros, filling the list on first use.
virtual void OnExitFinished()
Report the entered text and depart.
virtual void UpdateIdle(float flTime)
Blink the caret.
MetKeyboardScreen(MetRenderer *pRenderer, int nPriority)
Construct the screen.
virtual void PlayCycleRightSound(int nSelector)
Play the key sound that accompanies cycling a value to the right.
virtual void ResolveContainerViews()
Resolve the three key panels and the four text objects.
virtual void HandleCommand(const MetScreenCommand *pCommand)
Act on one navigation command.
static MetScreen * New(MetRenderer *pRenderer, int nPriority)
Produce a keyboard on the heap.
virtual void PlaySlideSound(int nSelector)
Play the key sound that accompanies sliding.
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.
Run of text drawn as a quad per glyph.
Definition text.h:57
Root of a loadable scene.
Definition view.h:47
The rendering engine.
Definition animhelper.h:3
What a screen asks of the on-screen keyboard.
Definition metkeyboardrequest.h:18
One navigation command delivered to a screen.
Definition metscreen.h:46
Three-component vector, padded to a PlayStation 2 quadword.
Definition vector3.h:12