summaryrefslogtreecommitdiff
path: root/src/news_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-07-27 12:49:04 +0000
committerrubidium <rubidium@openttd.org>2007-07-27 12:49:04 +0000
commitc03cb2c8dbc83119dc811f65ed2a48cdeb3e6f2b (patch)
treef4c661f7c16cd7e6a54b5db9b261dbabb7f187ed /src/news_gui.cpp
parentf01f2c3a666361f5859b8684ab9e937b2ec8a5d9 (diff)
downloadopenttd-c03cb2c8dbc83119dc811f65ed2a48cdeb3e6f2b.tar.xz
(svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size.
Diffstat (limited to 'src/news_gui.cpp')
-rw-r--r--src/news_gui.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/news_gui.cpp b/src/news_gui.cpp
index 27ec0a1e7..b3fed8bdb 100644
--- a/src/news_gui.cpp
+++ b/src/news_gui.cpp
@@ -320,7 +320,7 @@ static const Widget _news_type13_widgets[] = {
};
static WindowDesc _news_type13_desc = {
- WDP_CENTER, 476, 430, 170,
+ WDP_CENTER, 476, 430, 170, 430, 170,
WC_NEWS_WINDOW, WC_NONE,
WDF_DEF_WIDGET,
_news_type13_widgets,
@@ -334,7 +334,7 @@ static const Widget _news_type2_widgets[] = {
};
static WindowDesc _news_type2_desc = {
- WDP_CENTER, 476, 430, 130,
+ WDP_CENTER, 476, 430, 130, 430, 130,
WC_NEWS_WINDOW, WC_NONE,
WDF_DEF_WIDGET,
_news_type2_widgets,
@@ -350,7 +350,7 @@ static const Widget _news_type0_widgets[] = {
};
static WindowDesc _news_type0_desc = {
- WDP_CENTER, 476, 280, 87,
+ WDP_CENTER, 476, 280, 87, 280, 87,
WC_NEWS_WINDOW, WC_NONE,
WDF_DEF_WIDGET,
_news_type0_widgets,
@@ -700,7 +700,7 @@ static const Widget _message_history_widgets[] = {
};
static const WindowDesc _message_history_desc = {
- 240, 22, 400, 140,
+ 240, 22, 400, 140, 400, 140,
WC_MESSAGE_HISTORY, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
_message_history_widgets,
@@ -910,7 +910,7 @@ static const Widget _message_options_widgets[] = {
};
static const WindowDesc _message_options_desc = {
- 270, 22, 410, 197,
+ 270, 22, 410, 197, 410, 197,
WC_GAME_OPTIONS, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
_message_options_widgets,