diff options
author | Darkvater <darkvater@openttd.org> | 2006-11-11 10:12:00 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-11-11 10:12:00 +0000 |
commit | 47e7ad7771fc361962fdc169caf7c1a3ed875a1d (patch) | |
tree | 6e47823efb2a0ac2553e9bcd1acebfe6c7e7744f /terraform_gui.c | |
parent | 21db9ebb8e5692245e1e6d68a045649f6a37166a (diff) | |
download | openttd-47e7ad7771fc361962fdc169caf7c1a3ed875a1d.tar.xz |
(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.
Diffstat (limited to 'terraform_gui.c')
-rw-r--r-- | terraform_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/terraform_gui.c b/terraform_gui.c index 0d6c9ccd6..f07a2b3aa 100644 --- a/terraform_gui.c +++ b/terraform_gui.c @@ -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, |