(svn r15723) -Codechange: use a constructor for WindowDescs as that makes expanding them much easier (Alberth)
This commit is contained in:
@@ -317,12 +317,12 @@ static const Widget _iconsole_window_widgets[] = {
|
||||
{WIDGETS_END}
|
||||
};
|
||||
|
||||
static const WindowDesc _iconsole_window_desc = {
|
||||
static const WindowDesc _iconsole_window_desc(
|
||||
0, 0, 2, 2, 2, 2,
|
||||
WC_CONSOLE, WC_NONE,
|
||||
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
|
||||
_iconsole_window_widgets,
|
||||
};
|
||||
_iconsole_window_widgets
|
||||
);
|
||||
|
||||
void IConsoleGUIInit()
|
||||
{
|
||||
|
Reference in New Issue
Block a user