diff options
author | Darkvater <darkvater@openttd.org> | 2006-10-24 14:15:17 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-10-24 14:15:17 +0000 |
commit | d303ef94b3e4bd19ab21ba49a70dd626e763f275 (patch) | |
tree | 51fafb2220dd4dc447ee00655e96ff8b9666708b /subsidy_gui.c | |
parent | 605036dbb45fa41f39d7fff7f30faddcc9c48a41 (diff) | |
download | openttd-d303ef94b3e4bd19ab21ba49a70dd626e763f275.tar.xz |
(svn r6925) -Codechange: Be more strict with widget distinctions. WWT_PANEL is only plain panel,
WWT_IMGBTN must contain an image for drawing. Renamed WWT_PANEL_2 to WWT_IMGBTN_2
because that is what it is. Added WWT_PUSHBTN that is either just a pushable button,
or a textbutton, which text's drawn dynamically independent of widget.
Diffstat (limited to 'subsidy_gui.c')
-rw-r--r-- | subsidy_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subsidy_gui.c b/subsidy_gui.c index c71b1b2a2..80bc2843f 100644 --- a/subsidy_gui.c +++ b/subsidy_gui.c @@ -157,7 +157,7 @@ static const Widget _subsidies_list_widgets[] = { { WWT_CLOSEBOX, RESIZE_NONE, 13, 0, 10, 0, 13, STR_00C5, STR_018B_CLOSE_WINDOW}, { WWT_CAPTION, RESIZE_NONE, 13, 11, 617, 0, 13, STR_2025_SUBSIDIES, STR_018C_WINDOW_TITLE_DRAG_THIS}, { WWT_STICKYBOX, RESIZE_NONE, 13, 618, 629, 0, 13, STR_NULL, STR_STICKY_BUTTON}, -{ WWT_PANEL, RESIZE_NONE, 13, 0, 629, 14, 126, STR_NULL, STR_01FD_CLICK_ON_SERVICE_TO_CENTER}, +{ WWT_PANEL, RESIZE_NONE, 13, 0, 629, 14, 126, 0x0, STR_01FD_CLICK_ON_SERVICE_TO_CENTER}, { WIDGETS_END}, }; |