(svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size.

This commit is contained in:
rubidium
2007-07-27 12:49:04 +00:00
parent f01f2c3a66
commit c03cb2c8db
39 changed files with 168 additions and 143 deletions

View File

@@ -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,