diff options
author | frosch <frosch@openttd.org> | 2012-11-13 21:47:13 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2012-11-13 21:47:13 +0000 |
commit | fc2b12acca38964ed91d35e3d5c4aae20d992e7f (patch) | |
tree | b2234ccb73cc28f3a8cc64600296c5b55954edf2 /src/window_gui.h | |
parent | 2c22fe98ddae45d1553003a00a7ea0a301e9aa99 (diff) | |
download | openttd-fc2b12acca38964ed91d35e3d5c4aae20d992e7f.tar.xz |
(svn r24735) -Codechange: Move HandleEditBoxKey to Window class.
Diffstat (limited to 'src/window_gui.h')
-rw-r--r-- | src/window_gui.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window_gui.h b/src/window_gui.h index da8836993..ca93ee091 100644 --- a/src/window_gui.h +++ b/src/window_gui.h @@ -458,6 +458,8 @@ public: void UnfocusFocusedWidget(); bool SetFocusedWidget(byte widget_index); + EventState HandleEditBoxKey(int wid, uint16 key, uint16 keycode); + void HandleButtonClick(byte widget); int GetRowFromWidget(int clickpos, int widget, int padding, int line_height = -1) const; |