mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-26 16:09:10 +00:00
(svn r14820) -Codechange: use (the correct) enum-type instead of just int (Zuu)
This commit is contained in:
@@ -1046,7 +1046,7 @@ void QueryString::DrawEditBox(Window *w, int wid)
|
|||||||
_cur_dpi = old_dpi;
|
_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);
|
return this->QueryString::HandleEditBoxKey(this, wid, key, keycode, state);
|
||||||
}
|
}
|
||||||
|
@@ -66,7 +66,7 @@ struct QueryStringBaseWindow : public Window, public QueryString {
|
|||||||
|
|
||||||
void DrawEditBox(int wid);
|
void DrawEditBox(int wid);
|
||||||
void HandleEditBox(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);
|
virtual void OnOpenOSKWindow(int wid);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user