diff options
author | Darkvater <Darkvater@openttd.org> | 2006-10-24 16:27:18 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-10-24 16:27:18 +0000 |
commit | 02a6df391d3ea78330b21b46cae93fd48e50eca9 (patch) | |
tree | 89911288bb06c92fe50c96881ca5ed70276ed5df /window.h | |
parent | c7c65ce6d56e527f153d3d471f2c4dd8ebf2dd00 (diff) | |
download | openttd-02a6df391d3ea78330b21b46cae93fd48e50eca9.tar.xz |
(svn r6926) -Codechange: Rename WWT_4 to WWT_TEXTBTN_2 and WWT_6 to WWT_INSET (credits to peter1138
for the aptly found name)
-Codechange: Remove the explicit numbering from WindowWidgetTypes
Diffstat (limited to 'window.h')
-rw-r--r-- | window.h | 46 |
1 files changed, 23 insertions, 23 deletions
@@ -554,29 +554,29 @@ enum WindowWidgetBehaviours { enum WindowWidgetTypes { - WWT_EMPTY = 0, - - WWT_PANEL = 1, /* simple panel */ - WWT_IMGBTN = 2, /* button with image */ - WWT_IMGBTN_2 = 3, /* button with diff image when clicked */ - - WWT_TEXTBTN = 4, /* button with text */ - WWT_4 = 5, /* button with diff text when clicked */ - WWT_LABEL = 6, /* centered label */ - WWT_6 = 7, /* combo box text area */ - WWT_MATRIX = 8, - WWT_SCROLLBAR = 9, - WWT_FRAME = 10, /* frame */ - WWT_CAPTION = 11, - - WWT_HSCROLLBAR = 12, - WWT_STICKYBOX = 13, - WWT_SCROLL2BAR = 14, /* 2nd vertical scrollbar*/ - WWT_RESIZEBOX = 15, - WWT_CLOSEBOX = 16, - WWT_LAST = 17, /* Last Item. use WIDGETS_END to fill up padding!! */ - - WWT_MASK = 31, + WWT_EMPTY, + + WWT_PANEL, /* simple depressed panel */ + WWT_INSET, /* pressed (inset) panel, most commonly used as combo box _text_ area */ + WWT_IMGBTN, /* button with image */ + WWT_IMGBTN_2, /* button with diff image when clicked */ + + WWT_TEXTBTN, /* button with text */ + WWT_TEXTBTN_2, /* button with diff text when clicked */ + WWT_LABEL, /* centered label */ + WWT_MATRIX, + WWT_SCROLLBAR, + WWT_FRAME, /* frame */ + WWT_CAPTION, + + WWT_HSCROLLBAR, + WWT_STICKYBOX, + WWT_SCROLL2BAR, /* 2nd vertical scrollbar*/ + WWT_RESIZEBOX, + WWT_CLOSEBOX, + WWT_LAST, /* Last Item. use WIDGETS_END to fill up padding!! */ + + WWT_MASK = 0x1F, WWT_PUSHBTN = WWT_PANEL | WWB_PUSHBUTTON, WWT_PUSHTXTBTN = WWT_TEXTBTN | WWB_PUSHBUTTON, |