(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)

This commit is contained in:
rubidium
2009-03-15 15:12:06 +00:00
parent edacf53288
commit 7f468dc142
44 changed files with 369 additions and 348 deletions

View File

@@ -97,12 +97,12 @@ struct EnginePreviewWindow : Window {
}
};
static const WindowDesc _engine_preview_desc = {
static const WindowDesc _engine_preview_desc(
WDP_CENTER, WDP_CENTER, 300, 192, 300, 192,
WC_ENGINE_PREVIEW, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_CONSTRUCTION,
_engine_preview_widgets,
};
_engine_preview_widgets
);
void ShowEnginePreviewWindow(EngineID engine)