diff options
author | rubidium <rubidium@openttd.org> | 2009-11-17 19:16:48 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-17 19:16:48 +0000 |
commit | 5f2ddfbc5aa2674124e7af62d405a4d76cdfb0e2 (patch) | |
tree | 555dcdb99e5bae8aea6350713c53469486f925c7 /src/town_gui.cpp | |
parent | 063e8adcecff0818dfb64f7640b11a1b7b982d08 (diff) | |
download | openttd-5f2ddfbc5aa2674124e7af62d405a4d76cdfb0e2.tar.xz |
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
Diffstat (limited to 'src/town_gui.cpp')
-rw-r--r-- | src/town_gui.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/town_gui.cpp b/src/town_gui.cpp index fa36382af..246d468a5 100644 --- a/src/town_gui.cpp +++ b/src/town_gui.cpp @@ -267,7 +267,7 @@ public: }; static const WindowDesc _town_authority_desc( - WDP_AUTO, WDP_AUTO, 317, 222, 317, 222, + WDP_AUTO, WDP_AUTO, 317, 222, WC_TOWN_AUTHORITY, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS, _nested_town_authority_widgets, lengthof(_nested_town_authority_widgets) @@ -509,7 +509,7 @@ static const NWidgetPart _nested_town_game_view_widgets[] = { }; static const WindowDesc _town_game_view_desc( - WDP_AUTO, WDP_AUTO, 260, TownViewWindow::TVW_HEIGHT_NORMAL, 260, TownViewWindow::TVW_HEIGHT_NORMAL, + WDP_AUTO, WDP_AUTO, 260, TownViewWindow::TVW_HEIGHT_NORMAL, WC_TOWN_VIEW, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, _nested_town_game_view_widgets, lengthof(_nested_town_game_view_widgets) @@ -536,7 +536,7 @@ static const NWidgetPart _nested_town_editor_view_widgets[] = { }; static const WindowDesc _town_editor_view_desc( - WDP_AUTO, WDP_AUTO, 260, TownViewWindow::TVW_HEIGHT_NORMAL, 260, TownViewWindow::TVW_HEIGHT_NORMAL, + WDP_AUTO, WDP_AUTO, 260, TownViewWindow::TVW_HEIGHT_NORMAL, WC_TOWN_VIEW, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON, _nested_town_editor_view_widgets, lengthof(_nested_town_editor_view_widgets) @@ -826,7 +826,7 @@ GUITownList::SortFunction * const TownDirectoryWindow::sorter_funcs[] = { }; static const WindowDesc _town_directory_desc( - WDP_AUTO, WDP_AUTO, 208, 202, 208, 202, + WDP_AUTO, WDP_AUTO, 208, 202, WC_TOWN_DIRECTORY, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE, _nested_town_directory_widgets, lengthof(_nested_town_directory_widgets) @@ -1102,7 +1102,7 @@ public: }; static const WindowDesc _found_town_desc( - WDP_AUTO, WDP_AUTO, 160, 162, 160, 162, + WDP_AUTO, WDP_AUTO, 160, 162, WC_FOUND_TOWN, WC_NONE, WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON | WDF_CONSTRUCTION, _nested_found_town_widgets, lengthof(_nested_found_town_widgets) |