summaryrefslogtreecommitdiff
path: root/src/window_gui.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-09 17:20:48 +0000
committerrubidium <rubidium@openttd.org>2009-11-09 17:20:48 +0000
commitcbeba59fc2f7269ad3e8f325fc2624ac6013b654 (patch)
treed4e652115b1f8c0542332d2325f0c0b858f767a7 /src/window_gui.h
parenta84921f8f5e1d94e5a49588b1bf974dfbc2adc14 (diff)
downloadopenttd-cbeba59fc2f7269ad3e8f325fc2624ac6013b654.tar.xz
(svn r18033) -Codechange: make the padding for IMGBTN_2 the same as for IMGBTN; the image doesn't move, so the extra space at the right and bottom aren't needed
Diffstat (limited to 'src/window_gui.h')
-rw-r--r--src/window_gui.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/window_gui.h b/src/window_gui.h
index b3d8556db..723c00ef1 100644
--- a/src/window_gui.h
+++ b/src/window_gui.h
@@ -37,18 +37,12 @@ DECLARE_ENUM_AS_BIT_SET(FrameFlags);
/** Distances used in drawing widgets. */
enum WidgetDrawDistances {
- /* WWT_IMGBTN */
+ /* WWT_IMGBTN(_2) */
WD_IMGBTN_LEFT = 1, ///< Left offset of the image in the button.
WD_IMGBTN_RIGHT = 2, ///< Right offset of the image in the button.
WD_IMGBTN_TOP = 1, ///< Top offset of image in the button.
WD_IMGBTN_BOTTOM = 2, ///< Bottom offset of image in the button.
- /* WWT_IMGBTN_2 */
- WD_IMGBTN2_LEFT = 1, ///< Left offset of the images in the button.
- WD_IMGBTN2_RIGHT = 3, ///< Right offset of the images in the button.
- WD_IMGBTN2_TOP = 1, ///< Top offset of images in the button.
- WD_IMGBTN2_BOTTOM = 3, ///< Bottom offset of images in the button.
-
/* WWT_INSET */
WD_INSET_LEFT = 2, ///< Left offset of string.
WD_INSET_RIGHT = 2, ///< Right offset of string.