std::string _keyboard_opt[2]
The number of characters has to be OSK_KEYBOARD_ENTRIES.
void ShowQuery(StringID caption, StringID message, Window *w, QueryCallbackProc *callback, bool focus=false)
Show a confirmation window with standard 'yes' and 'no' buttons The window is aligned to the centre o...
void QueryCallbackProc(Window *, bool)
Callback procedure for the ShowQuery method.
QueryStringFlags
Flags used in ShowQueryString() call.
@ QSF_ENABLE_DEFAULT
enable the 'Default' button ("\0" is returned)
@ QSF_ACCEPT_UNCHANGED
return success even when the text didn't change
@ QSF_LEN_IN_CHARS
the length of the string is counted in characters
static const uint OSK_KEYBOARD_ENTRIES
The number of 'characters' on the on-screen keyboard.
void ShowQueryString(StringID str, StringID caption, uint max_len, Window *parent, CharSetFilter afilter, QueryStringFlags flags)
Show a query popup window with a textbox in it.