summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-19 22:49:04 +0000
committerrubidium <rubidium@openttd.org>2009-11-19 22:49:04 +0000
commitda25f121ac8cfda351cade27380a9a96b774debc (patch)
tree549c3bbec8a247ecdd146a5ae6727f403181168d /src/window_gui.h
parente43659440e2653e0fe7acd29025063389cefacc6 (diff)
downloadopenttd-da25f121ac8cfda351cade27380a9a96b774debc.tar.xz
(svn r18195) -Codechange: move the child padding calculation/handling to WWT_FRAME
-Fix (r18168): crash when switching languages when a non-standard font height is used
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index 2ff13c5da..d0e0f48a2 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -60,11 +60,13 @@ enum WidgetDrawDistances {
/* 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
+ 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.
+ WD_FRAMETEXT_LEFT = 6, ///< Left offset of the text of the frame.
+ WD_FRAMETEXT_RIGHT = 6, ///< Right offset of the text of the frame.
+ WD_FRAMETEXT_TOP = 6, ///< Top offset of the text of the frame
+ WD_FRAMETEXT_BOTTOM = 6, ///< Bottom offset of the text of the frame
/* WWT_MATRIX */
WD_MATRIX_LEFT = 2, ///< Offset at left of a matrix cell.