31#ifdef VIDEO_STANDARD_PAL
98 void Enter(
bool bForce,
float fTime)
override;
108 void Exit(
bool bForce,
float fTime)
override;
117 void Poll(
float fTime)
override;
Reference-counted array of script data nodes.
Definition dataarray.h:20
FreqPanel(DataArray *pData, const char *pszDir)
Construct a panel from its script description.
Message the keyboard poll sends when a key of a USB keyboard is pressed.
Definition keyboardkeymsg.h:23
void Exit(bool bForce, float fTime) override
Start the exit and forget the keys and the animation.
void SetRequest(const KeyboardRequest &request)
Take the request of the screen that opens the keyboard.
~KeyboardPanel() override
Destroy the panel.
void Commit()
Hand the text to the user and return to the screen that opened the keyboard, unless the user moved to...
void TypeChar(char ch)
Type a character, replacing the starting text with the first one typed, and end a shift of one key.
void TypeSpace()
Type a space.
bool HandleJoypad(JoypadInputMsg *pMsg)
Act on a button of the controller that types.
void MoveLeft()
Move the caret left.
void SetFocus(UIComponent *pComponent, int nButton) override
Play the KEYBOARD_LEFT_UP cue and move the focus to a key.
void TypeFunctionKey(const char *pszKey)
Replace the text with the text fkey_<key> of the locale, or go to kb_fkey_error_screen when the reque...
void SetShiftMode(int nMode)
Change the shift state, restyling the shift keys and relabelling every key.
bool HandleInvalid(UITextEntryInvalidMsg *pMsg)
Play the WRONG cue when the text is full, or go to kb_badkey_error_screen for a character the entry d...
static UIPanel * New(DataArray *pData, const char *pszDir)
Create a panel from its script description.
Definition keyboardpanel.h:75
bool HandleKey(KeyboardKeyMsg *pMsg)
Act on a key of a keyboard attached to the console.
ShiftMode
The shift states of the keys, the values of mShiftMode.
Definition keyboardpanel.h:39
@ kShiftNone
Definition keyboardpanel.h:40
@ kShiftOnce
Definition keyboardpanel.h:41
@ kShiftCaps
Definition keyboardpanel.h:42
void Backspace()
Erase the character before the caret.
bool HandleSelectStart(UIComponentSelectStartMsg *pMsg)
Act on the key about to be chosen.
KeyboardPanel(DataArray *pData, const char *pszDir)
Construct the panel from its script description.
void MoveRight()
Move the caret right.
void FlashKey(const char *pszKey)
Flash the key a controller button stands for.
void Enter(bool bForce, float fTime) override
Start the entry and prepare the text entry from the request.
void Poll(float fTime) override
Advance the panel and the animation of the selected key.
void TypeTab()
Type a tab.
bool DispatchPriv(Message *pMsg) override
Route keys about to be chosen, controller buttons, keys of an attached keyboard, and refused characte...
void Delete()
Erase the character after the caret.
What a screen requests of the front-end keyboard: who receives the text, the text to start from,...
Definition keyboardrequest.h:15
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
Animation of a material's colours, alpha, and texture stages by keys.
Definition rndmatanim.h:19
Message a component sends when the player presses the button that chooses it.
Definition uicomponentselectstartmsg.h:27
One control of a front-end panel, such as a label, a button, or a list.
Definition uicomponent.h:21
UIPanel(DataArray *pData, const char *pszDir)
Construct a hidden panel from its script description.
Message a text entry sends when it refuses a typed character.
Definition uitextentryinvalidmsg.h:25
Field the player types text into from a USB keyboard or the on-screen keyboard.
Definition uitextentry.h:27