(svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size.
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user