From 13ab17bca8f57c7bf3b832963e2cc45576811fbb Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 27 Jul 2007 12:49:04 +0000 Subject: (svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size. --- src/news_gui.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/news_gui.cpp') 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, -- cgit v1.2.3-70-g09d2