summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-02-04 16:59:41 +0000
committerrubidium <rubidium@openttd.org>2009-02-04 16:59:41 +0000
commitac7757324ee2130f3c487f0323dbb23f9553806b (patch)
tree0b2799a662a70856b0fe38c29efcafe45c25f8e4 /src/window_gui.h
parentb6e6be58da699065621085715445f2d6502cf27a (diff)
downloadopenttd-ac7757324ee2130f3c487f0323dbb23f9553806b.tar.xz
(svn r15338) -Fix [FS#2598]: close all construction related windows whenever changing company.
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index 2e6fc2f63..85e4bce3b 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -124,6 +124,7 @@ enum WindowDefaultFlag {
WDF_STD_TOOLTIPS = 1 << 0, ///< use standard routine when displaying tooltips
WDF_DEF_WIDGET = 1 << 1, ///< Default widget control for some widgets in the on click event, @see DispatchLeftClickEvent()
WDF_STD_BTN = 1 << 2, ///< Default handling for close and titlebar widgets (widget no 0 and 1)
+ WDF_CONSTRUCTION = 1 << 3, ///< This window is used for construction; close it whenever changing company.
WDF_UNCLICK_BUTTONS = 1 << 4, ///< Unclick buttons when the window event times out
WDF_STICKY_BUTTON = 1 << 5, ///< Set window to sticky mode; they are not closed unless closed with 'X' (widget 2)