forked from mirror/OpenTTD
(svn r25290) -Add: Assign string names to notable windows.
This commit is contained in:
@@ -90,7 +90,7 @@ static const NWidgetPart _nested_normal_news_widgets[] = {
|
||||
};
|
||||
|
||||
static WindowDesc _normal_news_desc(
|
||||
WDP_MANUAL, 0, 0,
|
||||
WDP_MANUAL, NULL, 0, 0,
|
||||
WC_NEWS_WINDOW, WC_NONE,
|
||||
0,
|
||||
_nested_normal_news_widgets, lengthof(_nested_normal_news_widgets)
|
||||
@@ -117,7 +117,7 @@ static const NWidgetPart _nested_vehicle_news_widgets[] = {
|
||||
};
|
||||
|
||||
static WindowDesc _vehicle_news_desc(
|
||||
WDP_MANUAL, 0, 0,
|
||||
WDP_MANUAL, NULL, 0, 0,
|
||||
WC_NEWS_WINDOW, WC_NONE,
|
||||
0,
|
||||
_nested_vehicle_news_widgets, lengthof(_nested_vehicle_news_widgets)
|
||||
@@ -148,7 +148,7 @@ static const NWidgetPart _nested_company_news_widgets[] = {
|
||||
};
|
||||
|
||||
static WindowDesc _company_news_desc(
|
||||
WDP_MANUAL, 0, 0,
|
||||
WDP_MANUAL, NULL, 0, 0,
|
||||
WC_NEWS_WINDOW, WC_NONE,
|
||||
0,
|
||||
_nested_company_news_widgets, lengthof(_nested_company_news_widgets)
|
||||
@@ -171,7 +171,7 @@ static const NWidgetPart _nested_thin_news_widgets[] = {
|
||||
};
|
||||
|
||||
static WindowDesc _thin_news_desc(
|
||||
WDP_MANUAL, 0, 0,
|
||||
WDP_MANUAL, NULL, 0, 0,
|
||||
WC_NEWS_WINDOW, WC_NONE,
|
||||
0,
|
||||
_nested_thin_news_widgets, lengthof(_nested_thin_news_widgets)
|
||||
@@ -195,7 +195,7 @@ static const NWidgetPart _nested_small_news_widgets[] = {
|
||||
};
|
||||
|
||||
static WindowDesc _small_news_desc(
|
||||
WDP_MANUAL, 0, 0,
|
||||
WDP_MANUAL, NULL, 0, 0,
|
||||
WC_NEWS_WINDOW, WC_NONE,
|
||||
0,
|
||||
_nested_small_news_widgets, lengthof(_nested_small_news_widgets)
|
||||
@@ -1110,7 +1110,7 @@ static const NWidgetPart _nested_message_history[] = {
|
||||
};
|
||||
|
||||
static WindowDesc _message_history_desc(
|
||||
WDP_AUTO, 400, 140,
|
||||
WDP_AUTO, "list_news", 400, 140,
|
||||
WC_MESSAGE_HISTORY, WC_NONE,
|
||||
0,
|
||||
_nested_message_history, lengthof(_nested_message_history)
|
||||
|
Reference in New Issue
Block a user