(svn r25290) -Add: Assign string names to notable windows.

This commit is contained in:
frosch
2013-05-26 19:25:01 +00:00
parent 8c4714ad90
commit 8157a8afd8
56 changed files with 142 additions and 140 deletions

View File

@@ -281,7 +281,7 @@ public:
};
static WindowDesc _town_authority_desc(
WDP_AUTO, 317, 222,
WDP_AUTO, "view_town_authority", 317, 222,
WC_TOWN_AUTHORITY, WC_NONE,
0,
_nested_town_authority_widgets, lengthof(_nested_town_authority_widgets)
@@ -551,7 +551,7 @@ static const NWidgetPart _nested_town_game_view_widgets[] = {
};
static WindowDesc _town_game_view_desc(
WDP_AUTO, 260, TownViewWindow::WID_TV_HEIGHT_NORMAL,
WDP_AUTO, "view_town", 260, TownViewWindow::WID_TV_HEIGHT_NORMAL,
WC_TOWN_VIEW, WC_NONE,
0,
_nested_town_game_view_widgets, lengthof(_nested_town_game_view_widgets)
@@ -582,7 +582,7 @@ static const NWidgetPart _nested_town_editor_view_widgets[] = {
};
static WindowDesc _town_editor_view_desc(
WDP_AUTO, 260, TownViewWindow::WID_TV_HEIGHT_NORMAL,
WDP_AUTO, "view_town_scen", 260, TownViewWindow::WID_TV_HEIGHT_NORMAL,
WC_TOWN_VIEW, WC_NONE,
0,
_nested_town_editor_view_widgets, lengthof(_nested_town_editor_view_widgets)
@@ -938,7 +938,7 @@ GUITownList::SortFunction * const TownDirectoryWindow::sorter_funcs[] = {
};
static WindowDesc _town_directory_desc(
WDP_AUTO, 208, 202,
WDP_AUTO, "list_towns", 208, 202,
WC_TOWN_DIRECTORY, WC_NONE,
0,
_nested_town_directory_widgets, lengthof(_nested_town_directory_widgets)
@@ -1179,7 +1179,7 @@ public:
};
static WindowDesc _found_town_desc(
WDP_AUTO, 160, 162,
WDP_AUTO, "build_town", 160, 162,
WC_FOUND_TOWN, WC_NONE,
WDF_CONSTRUCTION,
_nested_found_town_widgets, lengthof(_nested_found_town_widgets)