summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index 5eb2bf4ef..0495bcd8f 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -159,11 +159,10 @@ 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
- WDP_ALIGN_TBL = -4, ///< Align the left side of the window with the left side of the main toolbar
+ 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_TOOLBAR = -3, ///< Align to the main toolbar
};
Point GetToolbarAlignedWindowPosition(int window_width);