summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2011-11-18 20:38:30 +0000
committerfrosch <frosch@openttd.org>2011-11-18 20:38:30 +0000
commitca4f0509fcd828711fcf799222b3ac27360d91bc (patch)
treeefc8f25fd46566b75e4e9a1c962099b4b213f5ba /src/window_gui.h
parent8ed02997d4214ce6fa33aae3d3a37c6ef9d520ef (diff)
downloadopenttd-ca4f0509fcd828711fcf799222b3ac27360d91bc.tar.xz
(svn r23252) -Codechange: Add WD_BEVEL_xxx constants.
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index 8f549f85b..f3acb97fc 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -56,6 +56,12 @@ enum WidgetDrawDistances {
WD_SCROLLBAR_TOP = 2, ///< Top offset of scrollbar.
WD_SCROLLBAR_BOTTOM = 2, ///< Bottom offset of scrollbar.
+ /* Size of the pure frame bevel without any padding. */
+ WD_BEVEL_LEFT = 1, ///< Width of left bevel border.
+ WD_BEVEL_RIGHT = 1, ///< Width of right bevel border.
+ WD_BEVEL_TOP = 1, ///< Height of top bevel border.
+ WD_BEVEL_BOTTOM = 1, ///< Height of bottom bevel border.
+
/* FrameRect widgets, all text buttons, panel, editbox */
WD_FRAMERECT_LEFT = 2, ///< Offset at left to draw the frame rectangular area
WD_FRAMERECT_RIGHT = 2, ///< Offset at right to draw the frame rectangular area