summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-02-17 17:00:43 +0000
committersmatz <smatz@openttd.org>2008-02-17 17:00:43 +0000
commitd3d126f9991fd71d2da431ad2c9ab98d44cc35e6 (patch)
tree8897308c424e55cc880f7283c6621d29d397c625 /src/window_gui.h
parentd7a72c7002517c4818d60f4c45cdc6a3c4ccbf27 (diff)
downloadopenttd-d3d126f9991fd71d2da431ad2c9ab98d44cc35e6.tar.xz
(svn r12167) -Feature(tte): change colour of autorail and autoroad selection when Ctrl is pressed
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index d83ee950d..e59b5e9b4 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -123,6 +123,7 @@ enum WindowEventCodes {
WE_MESSAGE,
WE_SCROLL,
WE_INVALIDATE_DATA,
+ WE_CTRL_CHANGED,
};
struct WindowEvent {
@@ -192,6 +193,10 @@ struct WindowEvent {
struct {
int wheel; ///< how much was 'wheel'd'
} wheel;
+
+ struct {
+ bool cont; ///< continue the search? (default true)
+ } ctrl;
} we;
};