|
resonance 1.0.1
|
What a screen asks of the on-screen keyboard. More...
#include <metkeyboardrequest.h>

Public Member Functions | |
| MetKeyboardRequest (const HxStr &returnScreen, const HxStr &prompt, const HxStr &text, int nPad, MetKBUser *pUser) | |
| Fill the request, with no macro list, an empty ticker, and no limits. | |
Public Attributes | |
| HxStr | mReturnScreen |
| HxStr | mPrompt |
| HxStr | mText |
| MetKBUser * | mUser |
| int | mUnusedFlag |
| int | mMaxWidth |
| The widest the entered text may measure, compared against Rnd::Text::GetFontWidth(). | |
| int | mMaxLength |
| The most characters the entry accepts. | |
| std::vector< HxStr > * | mMacros |
| The macro list the keyboard offers, or null for the default list. | |
| HxStr | mTicker |
| int | mPad |
What a screen asks of the on-screen keyboard.
A plain record of 0x38 bytes with no RTTI and no string in the image naming it, so the name is inferred from its one consumer, MetKeyboardScreen::Open(). A screen builds one on its stack, adjusts the limits and the ticker text, and passes it to Open(), which copies every field except mUnusedFlag into the keyboard screen. MetSaveRemixScreen, MetRemixDelScreen, and MetLoadNewFreqScreen build one.
| MetKeyboardRequest::MetKeyboardRequest | ( | const HxStr & | returnScreen, |
| const HxStr & | prompt, | ||
| const HxStr & | text, | ||
| int | nPad, | ||
| MetKBUser * | pUser ) |
Fill the request, with no macro list, an empty ticker, and no limits.
The out-of-line routine returns its receiver.
| returnScreen | The registry key of the screen the keyboard returns to. |
| prompt | The prompt the keyboard shows. |
| text | The text the entry starts from. |
| nPad | The one controller the keyboard accepts, or -1 for any. |
| pUser | The receiver of the committed text. |
| HxStr MetKeyboardRequest::mReturnScreen |
The screen the keyboard returns to. +0x00
| HxStr MetKeyboardRequest::mPrompt |
The prompt the keyboard shows. +0x08
| HxStr MetKeyboardRequest::mText |
The text the entry starts from. +0x10
| MetKBUser* MetKeyboardRequest::mUser |
The receiver of the committed text. +0x18
| int MetKeyboardRequest::mUnusedFlag |
Starts at 1. MetKeyboardScreen::Open() does not read it. +0x1c
| int MetKeyboardRequest::mMaxWidth |
The widest the entered text may measure, compared against Rnd::Text::GetFontWidth().
Starts at 500. The name is inferred. +0x20
| int MetKeyboardRequest::mMaxLength |
The most characters the entry accepts.
Starts at no limit. The name is inferred. +0x24
| std::vector<HxStr>* MetKeyboardRequest::mMacros |
The macro list the keyboard offers, or null for the default list.
+0x28
| HxStr MetKeyboardRequest::mTicker |
The ticker text the keyboard posts, empty by default. +0x2c
| int MetKeyboardRequest::mPad |
The one controller the keyboard accepts, or -1 for any. +0x34