diff options
author | frosch <frosch@openttd.org> | 2012-11-13 21:46:19 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-11-13 21:46:19 +0000 |
commit | 17025fa6ea110f0db0b1c2e29b7615b21c2f5a50 (patch) | |
tree | e172f8a486ffd070f0a04406e46d74b24a68348c /src/querystring_gui.h | |
parent | 8cd77b6f6eb0e82ebcb4c0197786eeea08dd0263 (diff) | |
download | openttd-17025fa6ea110f0db0b1c2e29b7615b21c2f5a50.tar.xz |
(svn r24724) -Codechange: Move drawing of editboxes to the widget drawing code.
Diffstat (limited to 'src/querystring_gui.h')
-rw-r--r-- | src/querystring_gui.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/querystring_gui.h b/src/querystring_gui.h index 6296435fe..db4216aa6 100644 --- a/src/querystring_gui.h +++ b/src/querystring_gui.h @@ -55,7 +55,7 @@ struct QueryString { private: bool HasEditBoxFocus(const Window *w, int wid) const; public: - void DrawEditBox(Window *w, int wid); + void DrawEditBox(const Window *w, int wid) const; void HandleEditBox(Window *w, int wid); HandleEditBoxResult HandleEditBoxKey(Window *w, int wid, uint16 key, uint16 keycode, EventState &state); }; @@ -76,7 +76,6 @@ struct QueryStringBaseWindow : public Window, public QueryString { free(this->edit_str_buf); } - void DrawEditBox(int wid); void HandleEditBox(int wid); HandleEditBoxResult HandleEditBoxKey(int wid, uint16 key, uint16 keycode, EventState &state); |