Reference-counted array of script data nodes.
Definition dataarray.h:20
bool HandleJoypad(JoypadInputMsg *pMsg)
Report the choice as the cross button goes down, and flash once when no sink handled it.
static int sNumFlashes
Number of flashes of a chosen key.
Definition keyboardkey.h:87
static float sSelectedMs
Milliseconds of each flash a chosen key spends in the selected state.
Definition keyboardkey.h:95
bool DispatchPriv(Message *pMsg) override
Route controller buttons, and pass every other message to UIButton.
~KeyboardKey() override
Destroy the key.
KeyboardKey(DataArray *pData, const char *pszPanel)
Construct a key from its script description.
static float sNormalMs
Milliseconds of each flash a chosen key spends in the normal state.
Definition keyboardkey.h:103
static UIComponent * New(DataArray *pData, const char *pszPanel)
Create a key from its script description.
Definition keyboardkey.h:46
void Flash()
Flash once, as when the key is chosen.
Base of every event the game passes between a MsgSource and a MsgSink.
Definition message.h:40
UIComponent(DataArray *pData)
Construct a showing component in the normal state.
Definition uicomponent.h:37