src/querystring_gui.h
branchNewGRF_ports
changeset 10731 67db0d431d5e
parent 10724 68a692eacf22
equal deleted inserted replaced
10724:68a692eacf22 10731:67db0d431d5e
    15 	CharSetFilter afilter;
    15 	CharSetFilter afilter;
    16 	bool handled;
    16 	bool handled;
    17 
    17 
    18 	void DrawEditBox(Window *w, int wid);
    18 	void DrawEditBox(Window *w, int wid);
    19 	void HandleEditBox(Window *w, int wid);
    19 	void HandleEditBox(Window *w, int wid);
    20 	int HandleEditBoxKey(Window *w, int wid, uint16 key, uint16 keycode, bool &cont);
    20 	int HandleEditBoxKey(Window *w, int wid, uint16 key, uint16 keycode, Window::EventState &state);
    21 };
    21 };
    22 
    22 
    23 struct QueryStringBaseWindow : public Window, public QueryString {
    23 struct QueryStringBaseWindow : public Window, public QueryString {
    24 	char edit_str_buf[64];
    24 	char edit_str_buf[64];
    25 	char orig_str_buf[64];
    25 	char orig_str_buf[64];
    28 	{
    28 	{
    29 	}
    29 	}
    30 
    30 
    31 	void DrawEditBox(int wid);
    31 	void DrawEditBox(int wid);
    32 	void HandleEditBox(int wid);
    32 	void HandleEditBox(int wid);
    33 	int HandleEditBoxKey(int wid, uint16 key, uint16 keycode, bool &cont);
    33 	int HandleEditBoxKey(int wid, uint16 key, uint16 keycode, EventState &state);
    34 };
    34 };
    35 
    35 
    36 void ShowOnScreenKeyboard(QueryStringBaseWindow *parent, int button, int cancel, int ok);
    36 void ShowOnScreenKeyboard(QueryStringBaseWindow *parent, int button, int cancel, int ok);
    37 
    37 
    38 #endif /* QUERYSTRING_GUI_H */
    38 #endif /* QUERYSTRING_GUI_H */