forked from mirror/OpenTTD
(svn r7130) -Codechange: Handle the positioning of windows through the desc->left/top settings with
some special values (WDP_) instead of checking window-class. This also fixes FS#172 now that we can position windows arbitrarily and are not restricted to window-classes.
This commit is contained in:
@@ -265,7 +265,7 @@ static const Widget _terraform_widgets[] = {
|
||||
};
|
||||
|
||||
static const WindowDesc _terraform_desc = {
|
||||
640-157, 22+36, 158, 36,
|
||||
WDP_ALIGN_TBR, 22+36, 158, 36,
|
||||
WC_SCEN_LAND_GEN, 0,
|
||||
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON,
|
||||
_terraform_widgets,
|
||||
|
Reference in New Issue
Block a user