Changeset - r10563:12d6e31fa9ad
[Not reviewed]
master
0 2 0
rubidium - 16 years ago 2009-01-03 23:40:29
rubidium@openttd.org
(svn r14820) -Codechange: use (the correct) enum-type instead of just int (Zuu)
2 files changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
src/misc_gui.cpp
Show inline comments
 
@@ -1043,13 +1043,13 @@ void QueryString::DrawEditBox(Window *w,
 
	DoDrawString(tb->buf, delta, 0, TC_YELLOW);
 
	if (tb->caret) DoDrawString("_", tb->caretxoffs + delta, 0, TC_WHITE);
 

	
 
	_cur_dpi = old_dpi;
 
}
 

	
 
int QueryStringBaseWindow::HandleEditBoxKey(int wid, uint16 key, uint16 keycode, EventState &state)
 
HandleEditBoxResult QueryStringBaseWindow::HandleEditBoxKey(int wid, uint16 key, uint16 keycode, EventState &state)
 
{
 
	return this->QueryString::HandleEditBoxKey(this, wid, key, keycode, state);
 
}
 

	
 
void QueryStringBaseWindow::HandleEditBox(int wid)
 
{
src/querystring_gui.h
Show inline comments
 
@@ -63,13 +63,13 @@ struct QueryStringBaseWindow : public Wi
 
	{
 
		free(this->edit_str_buf);
 
	}
 

	
 
	void DrawEditBox(int wid);
 
	void HandleEditBox(int wid);
 
	int HandleEditBoxKey(int wid, uint16 key, uint16 keycode, EventState &state);
 
	HandleEditBoxResult HandleEditBoxKey(int wid, uint16 key, uint16 keycode, EventState &state);
 
	virtual void OnOpenOSKWindow(int wid);
 
};
 

	
 
void ShowOnScreenKeyboard(QueryStringBaseWindow *parent, int button, int cancel, int ok);
 

	
 
#endif /* QUERYSTRING_GUI_H */
0 comments (0 inline, 0 general)