Mercurial > hg > openttd
changeset 13302:eb74369706c4 draft
(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)
author | rubidium <rubidium@openttd.org> |
---|---|
date | Sun, 18 Oct 2009 20:56:38 +0000 |
parents | ac89dbd27f78 |
children | a6982a5654f1 |
files | src/querystring_gui.h |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/querystring_gui.h +++ b/src/querystring_gui.h @@ -51,7 +51,9 @@ 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);