diff options
author | rubidium <rubidium@openttd.org> | 2009-02-06 11:57:25 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-02-06 11:57:25 +0000 |
commit | 3758ba890a97140af1843ebdd47cda05254f92da (patch) | |
tree | f47923f4caf0b391f0c02c488f406260666e7897 /src/querystring_gui.h | |
parent | 1a5a673ec9a6639f3afcbf17d1d3e55e2cd071d1 (diff) | |
download | openttd-3758ba890a97140af1843ebdd47cda05254f92da.tar.xz |
(svn r15370) -Codechange: add a callback to tell the parent of an OSK that the string has changed instead of only marking the text box dirty.
Diffstat (limited to 'src/querystring_gui.h')
-rw-r--r-- | src/querystring_gui.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/querystring_gui.h b/src/querystring_gui.h index 2e7bf1736..52bcc24df 100644 --- a/src/querystring_gui.h +++ b/src/querystring_gui.h @@ -68,6 +68,7 @@ struct QueryStringBaseWindow : public Window, public QueryString { void HandleEditBox(int wid); HandleEditBoxResult HandleEditBoxKey(int wid, uint16 key, uint16 keycode, EventState &state); virtual void OnOpenOSKWindow(int wid); + virtual void OnOSKInput(int wid) {} }; void ShowOnScreenKeyboard(QueryStringBaseWindow *parent, int button, int cancel, int ok); |