diff options
author | alberth <alberth@openttd.org> | 2009-05-03 10:33:15 +0000 |
---|---|---|
committer | alberth <alberth@openttd.org> | 2009-05-03 10:33:15 +0000 |
commit | 9d81a3d262613c68fa8a86b2834fca4fd58104ae (patch) | |
tree | 5f6c3e68d3346df32b3325ba7ad5a9539fbacf47 /src | |
parent | 7abcb8d368d23ad380a402f87e52689835d8448e (diff) | |
download | openttd-9d81a3d262613c68fa8a86b2834fca4fd58104ae.tar.xz |
(svn r16209) -Codechange: Removed bottom panel from join station window.
Diffstat (limited to 'src')
-rw-r--r-- | src/station_gui.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/station_gui.cpp b/src/station_gui.cpp index 745046c74..d2df2cdb8 100644 --- a/src/station_gui.cpp +++ b/src/station_gui.cpp @@ -1118,7 +1118,6 @@ enum JoinStationWidgets { JSW_WIDGET_CAPTION, JSW_PANEL, JSW_SCROLLBAR, - JSW_EMPTY, JSW_RESIZEBOX, }; @@ -1126,9 +1125,8 @@ static const Widget _select_station_widgets[] = { { WWT_CLOSEBOX, RESIZE_NONE, COLOUR_DARK_GREEN, 0, 10, 0, 13, STR_BLACK_CROSS, STR_TOOLTIP_CLOSE_WINDOW}, { WWT_CAPTION, RESIZE_RIGHT, COLOUR_DARK_GREEN, 11, 199, 0, 13, STR_SELECT_STATION_TO_JOIN, STR_TOOLTIP_WINDOW_TITLE_DRAG_THIS}, { WWT_PANEL, RESIZE_RB, COLOUR_DARK_GREEN, 0, 187, 14, 79, 0x0, STR_NULL}, -{ WWT_SCROLLBAR, RESIZE_LRB, COLOUR_DARK_GREEN, 188, 199, 14, 79, 0x0, STR_TOOLTIP_VSCROLL_BAR_SCROLLS_LIST}, -{ WWT_PANEL, RESIZE_RTB, COLOUR_DARK_GREEN, 0, 187, 80, 91, 0x0, STR_NULL}, -{ WWT_RESIZEBOX, RESIZE_LRTB, COLOUR_DARK_GREEN, 188, 199, 80, 91, 0x0, STR_RESIZE_BUTTON}, +{ WWT_SCROLLBAR, RESIZE_LRB, COLOUR_DARK_GREEN, 188, 199, 14, 67, 0x0, STR_TOOLTIP_VSCROLL_BAR_SCROLLS_LIST}, +{ WWT_RESIZEBOX, RESIZE_LRTB, COLOUR_DARK_GREEN, 188, 199, 68, 79, 0x0, STR_RESIZE_BUTTON}, { WIDGETS_END}, }; @@ -1218,7 +1216,7 @@ struct SelectStationWindow : Window { }; static const WindowDesc _select_station_desc( - WDP_AUTO, WDP_AUTO, 200, 92, 200, 182, + WDP_AUTO, WDP_AUTO, 200, 80, 200, 180, WC_SELECT_STATION, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_RESIZABLE | WDF_CONSTRUCTION, _select_station_widgets |