summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-28 13:54:28 +0000
committerrubidium <rubidium@openttd.org>2009-11-28 13:54:28 +0000
commit458c73aecb74269a68ce0a8d5a90001fa3b4988e (patch)
treed3b8791d43ad9a8bfd08aedf49253911455febaa /src/window_gui.h
parenta427ab751d7905a26bd86d9571412d9bebe0aa03 (diff)
downloadopenttd-458c73aecb74269a68ce0a8d5a90001fa3b4988e.tar.xz
(svn r18318) -Codechange: add an enum value for manual window placement
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 a65246567..01b49b23c 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -159,6 +159,7 @@ enum WindowDefaultFlag {
* Special values for 'left' and 'top' to cause a specific placement
*/
enum WindowDefaultPosition {
+ WDP_MANUAL, ///< Manually align the window (so no automatic location finding)
WDP_AUTO = -1, ///< Find a place automatically
WDP_CENTER = -2, ///< Center the window (left/right or top/bottom)
WDP_ALIGN_TBR = -3, ///< Align the right side of the window with the right side of the main toolbar