summaryrefslogtreecommitdiff
path: root/src/news_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-17 19:16:48 +0000
committerrubidium <rubidium@openttd.org>2009-11-17 19:16:48 +0000
commit5f2ddfbc5aa2674124e7af62d405a4d76cdfb0e2 (patch)
tree555dcdb99e5bae8aea6350713c53469486f925c7 /src/news_gui.cpp
parent063e8adcecff0818dfb64f7640b11a1b7b982d08 (diff)
downloadopenttd-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/news_gui.cpp')
-rw-r--r--src/news_gui.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp
index ba6cf2059..5e98a0f6a 100644
--- a/src/news_gui.cpp
+++ b/src/news_gui.cpp
@@ -106,7 +106,7 @@ static const NWidgetPart _nested_normal_news_widgets[] = {
};
static WindowDesc _normal_news_desc(
- WDP_CENTER, 476, 430, 170, 430, 170,
+ WDP_CENTER, 476, 430, 170,
WC_NEWS_WINDOW, WC_NONE,
WDF_DEF_WIDGET,
_nested_normal_news_widgets, lengthof(_nested_normal_news_widgets)
@@ -133,7 +133,7 @@ static const NWidgetPart _nested_vehicle_news_widgets[] = {
};
static WindowDesc _vehicle_news_desc(
- WDP_CENTER, 476, 430, 170, 430, 170,
+ WDP_CENTER, 476, 430, 170,
WC_NEWS_WINDOW, WC_NONE,
WDF_DEF_WIDGET,
_nested_vehicle_news_widgets, lengthof(_nested_vehicle_news_widgets)
@@ -164,7 +164,7 @@ static const NWidgetPart _nested_company_news_widgets[] = {
};
static WindowDesc _company_news_desc(
- WDP_CENTER, 476, 430, 170, 430, 170,
+ WDP_CENTER, 476, 430, 170,
WC_NEWS_WINDOW, WC_NONE,
WDF_DEF_WIDGET,
_nested_company_news_widgets, lengthof(_nested_company_news_widgets)
@@ -187,7 +187,7 @@ static const NWidgetPart _nested_thin_news_widgets[] = {
};
static WindowDesc _thin_news_desc(
- WDP_CENTER, 476, 430, 130, 430, 130,
+ WDP_CENTER, 476, 430, 130,
WC_NEWS_WINDOW, WC_NONE,
WDF_DEF_WIDGET,
_nested_thin_news_widgets, lengthof(_nested_thin_news_widgets)
@@ -211,7 +211,7 @@ static NWidgetPart _nested_small_news_widgets[] = {
};
static WindowDesc _small_news_desc(
- WDP_CENTER, 476, 280, 87, 280, 87,
+ WDP_CENTER, 476, 280, 87,
WC_NEWS_WINDOW, WC_NONE,
WDF_DEF_WIDGET,
_nested_small_news_widgets, lengthof(_nested_small_news_widgets)
@@ -1019,7 +1019,7 @@ static const NWidgetPart _nested_message_history[] = {
};
static const WindowDesc _message_history_desc(
- 240, 22, 400, 140, 400, 140,
+ 240, 22, 400, 140,
WC_MESSAGE_HISTORY, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
_nested_message_history, lengthof(_nested_message_history)
@@ -1307,7 +1307,7 @@ static const NWidgetPart _nested_message_options_widgets[] = {
};
static const WindowDesc _message_options_desc(
- 270, 22, 0, 0, 0, 0,
+ 270, 22, 0, 0,
WC_GAME_OPTIONS, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
_nested_message_options_widgets, lengthof(_nested_message_options_widgets)