summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-28 14:30:00 +0000
committerrubidium <rubidium@openttd.org>2009-11-28 14:30:00 +0000
commit6a367fda8a7f8e563310f7254d612dbb0010d919 (patch)
treeb4ce5effc9523320c78bde57d6ab55eefd2c2f16 /src/window_gui.h
parenta825349bf108aa99b6080c3bceb35e8b3c75cc97 (diff)
downloadopenttd-6a367fda8a7f8e563310f7254d612dbb0010d919.tar.xz
(svn r18320) -Codechange: make the terraform and transparency window not use absolute location but manually calculate based on toolbar size etc.
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index 01b49b23c..5eb2bf4ef 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -166,6 +166,8 @@ enum WindowDefaultPosition {
WDP_ALIGN_TBL = -4, ///< Align the left side of the window with the left side of the main toolbar
};
+Point GetToolbarAlignedWindowPosition(int window_width);
+
/**
* Scrollbar data structure
*/