diff options
author | rubidium <rubidium@openttd.org> | 2009-11-28 14:42:35 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-11-28 14:42:35 +0000 |
commit | 293dfd7c3e754b846b745d80fa4ca6795b9f7ed0 (patch) | |
tree | 4fc72c84fc5875eb2719f9a9cbf4d9a458fb2f12 /src/news_gui.cpp | |
parent | b58b058e2b254cb375ebc2ec67c1ac307e6aeb87 (diff) | |
download | openttd-293dfd7c3e754b846b745d80fa4ca6795b9f7ed0.tar.xz |
(svn r18322) -Codechange: remove the WDP duplication; no need to tell the same twice.
Diffstat (limited to 'src/news_gui.cpp')
-rw-r--r-- | src/news_gui.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp index a4cfd67ae..55626fde6 100644 --- a/src/news_gui.cpp +++ b/src/news_gui.cpp @@ -106,7 +106,7 @@ static const NWidgetPart _nested_normal_news_widgets[] = { }; static const WindowDesc _normal_news_desc( - WDP_MANUAL, WDP_MANUAL, 430, 170, + WDP_MANUAL, 430, 170, WC_NEWS_WINDOW, WC_NONE, 0, _nested_normal_news_widgets, lengthof(_nested_normal_news_widgets) @@ -133,7 +133,7 @@ static const NWidgetPart _nested_vehicle_news_widgets[] = { }; static const WindowDesc _vehicle_news_desc( - WDP_MANUAL, WDP_MANUAL, 430, 170, + WDP_MANUAL, 430, 170, WC_NEWS_WINDOW, WC_NONE, 0, _nested_vehicle_news_widgets, lengthof(_nested_vehicle_news_widgets) @@ -164,7 +164,7 @@ static const NWidgetPart _nested_company_news_widgets[] = { }; static const WindowDesc _company_news_desc( - WDP_MANUAL, WDP_MANUAL, 430, 170, + WDP_MANUAL, 430, 170, WC_NEWS_WINDOW, WC_NONE, 0, _nested_company_news_widgets, lengthof(_nested_company_news_widgets) @@ -187,7 +187,7 @@ static const NWidgetPart _nested_thin_news_widgets[] = { }; static const WindowDesc _thin_news_desc( - WDP_MANUAL, WDP_MANUAL, 430, 130, + WDP_MANUAL, 430, 130, WC_NEWS_WINDOW, WC_NONE, 0, _nested_thin_news_widgets, lengthof(_nested_thin_news_widgets) @@ -211,7 +211,7 @@ static const NWidgetPart _nested_small_news_widgets[] = { }; static const WindowDesc _small_news_desc( - WDP_MANUAL, WDP_MANUAL, 280, 87, + WDP_MANUAL, 280, 87, WC_NEWS_WINDOW, WC_NONE, 0, _nested_small_news_widgets, lengthof(_nested_small_news_widgets) @@ -1030,7 +1030,7 @@ static const NWidgetPart _nested_message_history[] = { }; static const WindowDesc _message_history_desc( - WDP_AUTO, WDP_AUTO, 400, 140, + WDP_AUTO, 400, 140, WC_MESSAGE_HISTORY, WC_NONE, WDF_UNCLICK_BUTTONS, _nested_message_history, lengthof(_nested_message_history) @@ -1316,7 +1316,7 @@ static const NWidgetPart _nested_message_options_widgets[] = { }; static const WindowDesc _message_options_desc( - WDP_AUTO, WDP_AUTO, 0, 0, + WDP_AUTO, 0, 0, WC_GAME_OPTIONS, WC_NONE, WDF_UNCLICK_BUTTONS, _nested_message_options_widgets, lengthof(_nested_message_options_widgets) |