(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:
Darkvater
2006-11-11 10:12:00 +00:00
parent 21db9ebb8e
commit 47e7ad7771
7 changed files with 43 additions and 27 deletions

View File

@@ -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,