(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.

This commit is contained in:
rubidium
2009-11-28 14:42:35 +00:00
parent b58b058e2b
commit 293dfd7c3e
48 changed files with 159 additions and 173 deletions

View File

@@ -282,7 +282,7 @@ public:
};
static const WindowDesc _town_authority_desc(
WDP_AUTO, WDP_AUTO, 317, 222,
WDP_AUTO, 317, 222,
WC_TOWN_AUTHORITY, WC_NONE,
WDF_UNCLICK_BUTTONS,
_nested_town_authority_widgets, lengthof(_nested_town_authority_widgets)
@@ -540,7 +540,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,
WDP_AUTO, 260, TownViewWindow::TVW_HEIGHT_NORMAL,
WC_TOWN_VIEW, WC_NONE,
WDF_UNCLICK_BUTTONS,
_nested_town_game_view_widgets, lengthof(_nested_town_game_view_widgets)
@@ -570,7 +570,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,
WDP_AUTO, 260, TownViewWindow::TVW_HEIGHT_NORMAL,
WC_TOWN_VIEW, WC_NONE,
WDF_UNCLICK_BUTTONS,
_nested_town_editor_view_widgets, lengthof(_nested_town_editor_view_widgets)
@@ -856,7 +856,7 @@ GUITownList::SortFunction * const TownDirectoryWindow::sorter_funcs[] = {
};
static const WindowDesc _town_directory_desc(
WDP_AUTO, WDP_AUTO, 208, 202,
WDP_AUTO, 208, 202,
WC_TOWN_DIRECTORY, WC_NONE,
WDF_UNCLICK_BUTTONS,
_nested_town_directory_widgets, lengthof(_nested_town_directory_widgets)
@@ -1141,7 +1141,7 @@ public:
};
static const WindowDesc _found_town_desc(
WDP_AUTO, WDP_AUTO, 160, 162,
WDP_AUTO, 160, 162,
WC_FOUND_TOWN, WC_NONE,
WDF_CONSTRUCTION,
_nested_found_town_widgets, lengthof(_nested_found_town_widgets)