Changeset - r13292:ac6cc47d56f5
[Not reviewed]
master
0 1 0
rubidium - 15 years ago 2009-10-18 20:56:38
rubidium@openttd.org
(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)
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/querystring_gui.h
Show inline comments
 
@@ -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);
0 comments (0 inline, 0 general)