(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

@@ -242,7 +242,7 @@ static const Widget _roadveh_details_widgets[] = {
};
static const WindowDesc _roadveh_details_desc = {
WDP_AUTO, WDP_AUTO, 380, 113,
WDP_AUTO, WDP_AUTO, 380, 113, 380, 113,
WC_VEHICLE_DETAILS,WC_VEHICLE_VIEW,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
_roadveh_details_widgets,
@@ -416,7 +416,7 @@ static const Widget _roadveh_view_widgets[] = {
};
static const WindowDesc _roadveh_view_desc = {
WDP_AUTO, WDP_AUTO, 250, 116,
WDP_AUTO, WDP_AUTO, 250, 116, 250, 116,
WC_VEHICLE_VIEW, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
_roadveh_view_widgets,