2 Copyright © 2002-2003, The AROS Development Team. All rights reserved.
6 #define MUIMASTER_YES_INLINE_STDARG
8 #include <graphics/gfx.h>
9 #include <graphics/view.h>
10 #include <clib/alib_protos.h>
11 #include <proto/exec.h>
12 #include <proto/graphics.h>
13 #include <proto/utility.h>
14 #include <proto/intuition.h>
15 #include <proto/muimaster.h>
18 #include "muimaster_intern.h"
20 #include "support_classes.h"
21 #include "settingsgroup_private.h"
23 extern struct Library
*MUIMasterBase
;
26 IPTR
Settingsgroup__OM_NEW(struct IClass
*cl
, Object
*obj
,
32 obj
= (Object
*) DoSuperNewTags
33 (cl
, obj
, NULL
, TAG_MORE
, (IPTR
) msg
->ops_AttrList
);
37 /* parse initial taglist */
39 for (tags
= msg
->ops_AttrList
; (tag
= NextTagItem(&tags
));)
49 IPTR
Settingsgroup__MUIM_Settingsgroup_ConfigToGadgets(struct IClass
*cl
,
50 Object
*obj
, struct MUIP_Settingsgroup_ConfigToGadgets
*msg
)
52 //struct MUI_Settingsgroup *data = INST_DATA(cl, obj);
56 IPTR
Settingsgroup__MUIM_Settingsgroup_GadgetsToConfig(struct IClass
*cl
,
57 Object
*obj
, struct MUIP_Settingsgroup_GadgetsToConfig
*msg
)
59 //struct MUI_Settingsgroup *data = INST_DATA(cl, obj);
63 #if ZUNE_BUILTIN_SETTINGSGROUP
64 BOOPSI_DISPATCHER(IPTR
, Settingsgroup_Dispatcher
, cl
, obj
, msg
)
66 switch (msg
->MethodID
)
69 return Settingsgroup__OM_NEW(cl
, obj
, (struct opSet
*)msg
);
71 case MUIM_Settingsgroup_ConfigToGadgets
:
72 return Settingsgroup__MUIM_Settingsgroup_ConfigToGadgets(cl
, obj
,
75 case MUIM_Settingsgroup_GadgetsToConfig
:
76 return Settingsgroup__MUIM_Settingsgroup_GadgetsToConfig(cl
, obj
,
80 return DoSuperMethodA(cl
, obj
, msg
);
85 const struct __MUIBuiltinClass _MUI_Settingsgroup_desc
=
89 sizeof(struct Settingsgroup_DATA
),
90 (void *) Settingsgroup_Dispatcher
92 #endif /* ZUNE_BUILTIN_SETTINGSGROUP */