2 Copyright © 2013, The AROS Development Team. All rights reserved.
6 /*********************************************************************************************/
9 #include <aros/debug.h>
11 #define MUIMASTER_YES_INLINE_STDARG
13 #include <proto/alib.h>
14 #include <proto/intuition.h>
15 #include <proto/muimaster.h>
17 #include <zune/systemprefswindow.h>
19 #include "appearanceeditor.h"
23 #define VERSION "$VER: Appearance 1.0 (04.09.2013) AROS Dev Team"
24 /*********************************************************************************************/
26 int main(int argc
, char **argv
)
31 D(bug("[AppearancePrefs] InitLocale\n"));
34 D(bug("[AppearancePrefs] started\n"));
37 if (ReadArguments(argc
, argv
))
39 D(bug("[AppearancePrefs] initialized\n"));
40 if (ARG(USE
) || ARG(SAVE
))
42 // Prefs_HandleArgs((STRPTR)ARG(FROM), ARG(USE), ARG(SAVE));
46 application
= (Object
*)ApplicationObject
,
47 MUIA_Application_Title
, __(MSG_WINTITLE
),
48 MUIA_Application_Version
, (IPTR
) VERSION
,
49 MUIA_Application_Description
, __(MSG_WINTITLE
),
50 MUIA_Application_Base
, (IPTR
) "APPEARPREF",
51 SubWindow
, (IPTR
)(window
= (Object
*)SystemPrefsWindowObject
,
52 // MUIA_Window_ID, ID_SERL,
53 WindowContents
, (IPTR
) AppearanceEditorObject
,
58 if (application
!= NULL
)
60 SET(window
, MUIA_Window_Open
, TRUE
);
61 DoMethod(application
, MUIM_Application_Execute
);
63 MUI_DisposeObject(application
);
69 Locale_Deinitialize();
73 /*********************************************************************************************/