summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authorYexo <yexo@openttd.org>2009-08-30 17:07:53 +0000
committerYexo <yexo@openttd.org>2009-08-30 17:07:53 +0000
commitfe7ca1b3e3a5cef63d61a117dbe1fda80b5e877d (patch)
tree2bad38f084fe8261f309303a233b10edb7a4b865 /src/window_gui.h
parent0d3ab7c72d806616698e533c2559e9e4b766529c (diff)
downloadopenttd-fe7ca1b3e3a5cef63d61a117dbe1fda80b5e877d.tar.xz
(svn r17324) -Codechange: Land info window uses nested widget tree
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index 38f640ebb..a52e16577 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -63,6 +63,10 @@ enum WidgetDrawDistances {
WD_FRAMERECT_TOP = 1, ///< Offset at top to draw the frame rectangular area
WD_FRAMERECT_BOTTOM = 1, ///< Offset at bottom to draw the frame rectangular area
+ /* Extra space at top/bottom of text panels */
+ WD_TEXTPANEL_TOP = 6, ///< Offset at top to draw above the text
+ WD_TEXTPANEL_BOTTOM = 6, ///< Offset at bottom to draw below the text
+
/* WWT_FRAME */
WD_FRAMETEXT_LEFT = 6, ///< Left offset of the text of the frame.
WD_FRAMETEXT_RIGHT = 6, ///< Right offset of the text of the frame.