diff options
author | rubidium <rubidium@openttd.org> | 2009-10-18 20:56:38 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-10-18 20:56:38 +0000 |
commit | 40a32bb976a00d9f79b6368eda02461a74c74988 (patch) | |
tree | d6a84bf7be378a8e8928bfd1851d2c0521a5b7e6 | |
parent | b8f8c60839ac0451ae83333fd2df9b87a1219534 (diff) | |
download | openttd-40a32bb976a00d9f79b6368eda02461a74c74988.tar.xz |
(svn r17811) -Codechange: make HasEditBoxFocus a private function of QueryString because it's not meant to be used for determining whether the given widget actually has focus (it also checks the OSK edit box)
-rw-r--r-- | src/querystring_gui.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/querystring_gui.h b/src/querystring_gui.h index e378b4ebf..5ce383e74 100644 --- a/src/querystring_gui.h +++ b/src/querystring_gui.h @@ -51,7 +51,9 @@ struct QueryString { free((void*)this->orig); } +private: bool HasEditBoxFocus(const Window *w, int wid) const; +public: void DrawEditBox(Window *w, int wid); void HandleEditBox(Window *w, int wid); HandleEditBoxResult HandleEditBoxKey(Window *w, int wid, uint16 key, uint16 keycode, Window::EventState &state); |