summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-11-13 21:47:07 +0000
committerfrosch <frosch@openttd.org>2012-11-13 21:47:07 +0000
commit2c22fe98ddae45d1553003a00a7ea0a301e9aa99 (patch)
tree2fd5045b9283a129c73b969e1ef686ecd17de93a /src/window_gui.h
parentc4d7c8dd427287d42374b5a83842f570642b100c (diff)
downloadopenttd-2c22fe98ddae45d1553003a00a7ea0a301e9aa99.tar.xz
(svn r24734) -Codechange: Move QueryStringBaseWindow::OnOSKInput to Window::OnEditboxChanged.
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index 268f39132..da8836993 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -667,6 +667,12 @@ public:
virtual void OnDropdownClose(Point pt, int widget, int index, bool instant_close);
/**
+ * The text in an editbox has been edited.
+ * @param widget The widget of the editbox.
+ */
+ virtual void OnEditboxChanged(int widget) {}
+
+ /**
* The query window opened from this window has closed.
* @param str the new value of the string, NULL if the window
* was cancelled or an empty string when the default