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
commit8b56e7544ec50c9734f9b9616c4aefd6bee932d1 (patch)
tree8897308c424e55cc880f7283c6621d29d397c625 /src/window_gui.h
parent291931bf5078e407d89046e7e2d92e0dcf261730 (diff)
downloadopenttd-8b56e7544ec50c9734f9b9616c4aefd6bee932d1.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;
};