diff options
author | Darkvater <darkvater@openttd.org> | 2006-10-27 13:48:56 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-10-27 13:48:56 +0000 |
commit | 64a22055179ca491df6ed5539c8d6b73b4dc0429 (patch) | |
tree | 41298e7403c6f31941f5ae04d535cc33f2e07a4a /window.h | |
parent | 940acf4e4d039dee4f9937ce66898d9eeaeb0d8d (diff) | |
download | openttd-64a22055179ca491df6ed5539c8d6b73b4dc0429.tar.xz |
(svn r6961) -Codechange: Remove relic from r212 WWT_NODISTXTBTN which was originally used to not
to allow clicking if a button was disabled. This has been superseded in r212 with
general code that doesn't allow any click events for disabled buttons.
Diffstat (limited to 'window.h')
-rw-r--r-- | window.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -547,7 +547,6 @@ assert_compile(WINDOW_CUSTOM_SIZE >= sizeof(dropdown_d)); /****************** THESE ARE NOT WIDGET TYPES!!!!! *******************/ enum WindowWidgetBehaviours { WWB_PUSHBUTTON = 1 << 5, - WWB_NODISBUTTON = 2 << 5, WWB_MASK = 0xE0, }; @@ -581,7 +580,6 @@ enum WindowWidgetTypes { WWT_PUSHBTN = WWT_PANEL | WWB_PUSHBUTTON, WWT_PUSHTXTBTN = WWT_TEXTBTN | WWB_PUSHBUTTON, WWT_PUSHIMGBTN = WWT_IMGBTN | WWB_PUSHBUTTON, - WWT_NODISTXTBTN = WWT_TEXTBTN | WWB_NODISBUTTON, }; #define WIDGETS_END WWT_LAST, RESIZE_NONE, 0, 0, 0, 0, 0, 0, STR_NULL |