2 Copyright © 2003-2006, The AROS Development Team. All rights reserved.
6 #define MUIMASTER_YES_INLINE_STDARG
9 #include <aros/debug.h>
12 #include <proto/muimaster.h>
13 #include <proto/intuition.h>
15 #include <zune/systemprefswindow.h>
20 #define VERSION "ScreenMode Preferences 1.2 (18.02.2006)"
21 #define COPYRIGHT "Copyright © 1995-2006, The AROS Development Team"
23 static const char vers
[] = VERSION
;
24 static const char version
[] = "$VER: " VERSION
"\n";
27 int __nocommandline
= 1;
35 app
= ApplicationObject
,
36 MUIA_Application_Title
, (IPTR
) __(MSG_NAME
),
37 MUIA_Application_Version
, (IPTR
) vers
,
38 MUIA_Application_Copyright
, (IPTR
) COPYRIGHT
,
39 MUIA_Application_Author
, (IPTR
) "The AROS Development Team",
40 MUIA_Application_Description
, (IPTR
) __(MSG_NAME
),
41 MUIA_Application_SingleTask
, TRUE
,
42 MUIA_Application_Base
, (IPTR
) "SCREENMODEPREF",
43 SubWindow
, (IPTR
)(win
= SystemPrefsWindowObject
,
44 MUIA_Window_ID
, MAKE_ID('S','W','I','N'),
45 WindowContents
, (IPTR
) SMEditorObject
,
52 set(win
, MUIA_Window_Open
, TRUE
);
54 DoMethod(app
, MUIM_Application_Execute
);
56 MUI_DisposeObject(app
);
58 Locale_Deinitialize();
64 D(bug("screenmode preferences: couldn't create application"));
67 Locale_Deinitialize();