(svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size.
This commit is contained in:
@@ -214,7 +214,7 @@ static void TownAuthorityWndProc(Window *w, WindowEvent *e)
|
||||
}
|
||||
|
||||
static const WindowDesc _town_authority_desc = {
|
||||
WDP_AUTO, WDP_AUTO, 317, 222,
|
||||
WDP_AUTO, WDP_AUTO, 317, 222, 317, 222,
|
||||
WC_TOWN_AUTHORITY, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
|
||||
_town_authority_widgets,
|
||||
@@ -308,7 +308,7 @@ static const Widget _town_view_widgets[] = {
|
||||
};
|
||||
|
||||
static const WindowDesc _town_view_desc = {
|
||||
WDP_AUTO, WDP_AUTO, 260, 150,
|
||||
WDP_AUTO, WDP_AUTO, 260, 150, 260, 150,
|
||||
WC_TOWN_VIEW, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON,
|
||||
_town_view_widgets,
|
||||
@@ -331,7 +331,7 @@ static const Widget _town_view_scen_widgets[] = {
|
||||
};
|
||||
|
||||
static const WindowDesc _town_view_scen_desc = {
|
||||
WDP_AUTO, WDP_AUTO, 260, 150,
|
||||
WDP_AUTO, WDP_AUTO, 260, 150, 260, 150,
|
||||
WC_TOWN_VIEW, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON,
|
||||
_town_view_scen_widgets,
|
||||
@@ -508,7 +508,7 @@ static void TownDirectoryWndProc(Window *w, WindowEvent *e)
|
||||
}
|
||||
|
||||
static const WindowDesc _town_directory_desc = {
|
||||
WDP_AUTO, WDP_AUTO, 208, 202,
|
||||
WDP_AUTO, WDP_AUTO, 208, 202, 208, 202,
|
||||
WC_TOWN_DIRECTORY, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
|
||||
_town_directory_widgets,
|
||||
|
Reference in New Issue
Block a user