mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(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)
This commit is contained in:
parent
b8f8c60839
commit
40a32bb976
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user