diff options
author | rubidium <rubidium@openttd.org> | 2011-05-04 20:24:23 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-05-04 20:24:23 +0000 |
commit | 944a5cb7aafc4d8347c14154e24c05aa00b430c5 (patch) | |
tree | 680f66bd19db54a43ba69772c8627bfaf196ea4e /src/querystring_gui.h | |
parent | 14081d91c911d3870e7227770748c10a127bcf5b (diff) | |
download | openttd-944a5cb7aafc4d8347c14154e24c05aa00b430c5.tar.xz |
(svn r22423) -Document: some network stuff
Diffstat (limited to 'src/querystring_gui.h')
-rw-r--r-- | src/querystring_gui.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/querystring_gui.h b/src/querystring_gui.h index 02ac8cb18..52da49d77 100644 --- a/src/querystring_gui.h +++ b/src/querystring_gui.h @@ -78,7 +78,17 @@ struct QueryStringBaseWindow : public Window, public QueryString { void DrawEditBox(int wid); void HandleEditBox(int wid); HandleEditBoxResult HandleEditBoxKey(int wid, uint16 key, uint16 keycode, EventState &state); + + /** + * Callback for when the OSK window is opened. + * @param wid The widget the OSK is opened of. + */ virtual void OnOpenOSKWindow(int wid); + + /** + * Callback for when on input has been entered with the OSK. + * @param wid The widget the OSK was attached to. + */ virtual void OnOSKInput(int wid) {} }; |