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 | ba3d7e70f2b9961c8094a23b9decf28ef8111e7c (patch) | |
tree | f47923f4caf0b391f0c02c488f406260666e7897 /src/querystring_gui.h | |
parent | 2ab6fffcccd6bd02a67f78769c7ccf4718f66d2b (diff) | |
download | openttd-ba3d7e70f2b9961c8094a23b9decf28ef8111e7c.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); |