summaryrefslogtreecommitdiff
path: root/window.h
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2005-12-14 08:05:36 +0000
committerpeter1138 <peter1138@openttd.org>2005-12-14 08:05:36 +0000
commitec274769b93bd64f6176818c774320c6d163febc (patch)
tree18ce3d5422993edd9291e2c660d35f4d844e77da /window.h
parent560e92aa4a59d16008bd27a35de2de79fdea676b (diff)
downloadopenttd-ec274769b93bd64f6176818c774320c6d163febc.tar.xz
(svn r3302) - Fix: split drawing of text buttons and the closebox, so the closebox symbol can be centred.
Diffstat (limited to 'window.h')
-rw-r--r--window.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/window.h b/window.h
index e7f3f6449..f23906a14 100644
--- a/window.h
+++ b/window.h
@@ -509,7 +509,6 @@ enum WindowWidgetTypes {
WWT_PANEL_2 = 2, /* button with diff image when clicked */
WWT_TEXTBTN = 3, /* button with text */
- WWT_CLOSEBOX = WWT_TEXTBTN,
WWT_4 = 4, /* button with diff text when clicked */
WWT_5 = 5, /* label */
WWT_6 = 6, /* combo box text area */
@@ -522,7 +521,8 @@ enum WindowWidgetTypes {
WWT_STICKYBOX = 12,
WWT_SCROLL2BAR = 13, /* 2nd vertical scrollbar*/
WWT_RESIZEBOX = 14,
- WWT_LAST = 15, /* Last Item. use WIDGETS_END to fill up padding!! */
+ WWT_CLOSEBOX = 15,
+ WWT_LAST = 16, /* Last Item. use WIDGETS_END to fill up padding!! */
WWT_MASK = 31,