(svn r10704) -Codechange: provide an infrastructure to have resizable windows that are smaller than the default window size.
This commit is contained in:
@@ -97,7 +97,7 @@ static const Widget _depot_widgets[] = {
|
||||
static void DepotWndProc(Window *w, WindowEvent *e);
|
||||
|
||||
static const WindowDesc _train_depot_desc = {
|
||||
WDP_AUTO, WDP_AUTO, 36, 27,
|
||||
WDP_AUTO, WDP_AUTO, 36, 27, 36, 27,
|
||||
WC_VEHICLE_DEPOT, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
|
||||
_depot_widgets,
|
||||
@@ -105,7 +105,7 @@ static const WindowDesc _train_depot_desc = {
|
||||
};
|
||||
|
||||
static const WindowDesc _road_depot_desc = {
|
||||
WDP_AUTO, WDP_AUTO, 36, 27,
|
||||
WDP_AUTO, WDP_AUTO, 36, 27, 36, 27,
|
||||
WC_VEHICLE_DEPOT, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
|
||||
_depot_widgets,
|
||||
@@ -113,7 +113,7 @@ static const WindowDesc _road_depot_desc = {
|
||||
};
|
||||
|
||||
static const WindowDesc _ship_depot_desc = {
|
||||
WDP_AUTO, WDP_AUTO, 36, 27,
|
||||
WDP_AUTO, WDP_AUTO, 36, 27, 36, 27,
|
||||
WC_VEHICLE_DEPOT, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
|
||||
_depot_widgets,
|
||||
@@ -121,7 +121,7 @@ static const WindowDesc _ship_depot_desc = {
|
||||
};
|
||||
|
||||
static const WindowDesc _aircraft_depot_desc = {
|
||||
WDP_AUTO, WDP_AUTO, 36, 27,
|
||||
WDP_AUTO, WDP_AUTO, 36, 27, 36, 27,
|
||||
WC_VEHICLE_DEPOT, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
|
||||
_depot_widgets,
|
||||
|
Reference in New Issue
Block a user