diff options
author | frosch <frosch@openttd.org> | 2012-11-14 22:50:35 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-11-14 22:50:35 +0000 |
commit | f5d8ba5d7f90abc72db6c0470da383ecf82da487 (patch) | |
tree | 3dbbbbe18733005c5851251dac62314d871b2b30 /src/querystring_gui.h | |
parent | dcfb2af871b76a7b65fb959b2f4ebc2da2f9e4d3 (diff) | |
download | openttd-f5d8ba5d7f90abc72db6c0470da383ecf82da487.tar.xz |
(svn r24742) -Codechange: Remove QueryStringBaseWindow and store QueryStrings per widget instead.
Diffstat (limited to 'src/querystring_gui.h')
-rw-r--r-- | src/querystring_gui.h | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/querystring_gui.h b/src/querystring_gui.h index 1e0896a2b..5c46ced84 100644 --- a/src/querystring_gui.h +++ b/src/querystring_gui.h @@ -64,14 +64,7 @@ public: HandleEditBoxResult HandleEditBoxKey(Window *w, int wid, uint16 key, uint16 keycode, EventState &state); }; -struct QueryStringBaseWindow : public Window, public QueryString { - QueryStringBaseWindow(uint16 size, uint16 chars = UINT16_MAX) : Window(), QueryString(size, chars) - { - } - -}; - -void ShowOnScreenKeyboard(QueryStringBaseWindow *parent, int button); -void UpdateOSKOriginalText(const QueryStringBaseWindow *parent, int button); +void ShowOnScreenKeyboard(Window *parent, int button); +void UpdateOSKOriginalText(const Window *parent, int button); #endif /* QUERYSTRING_GUI_H */ |