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
, struct opSet
*msg
)
28 struct MUI_Settingsgroup
*data
;
29 const struct TagItem
*tags
;
32 obj
= (Object
*) DoSuperNewTags
35 TAG_MORE
, (IPTR
) msg
->ops_AttrList
37 if (!obj
) return FALSE
;
39 data
= INST_DATA(cl
, obj
);
41 /* parse initial taglist */
43 for (tags
= msg
->ops_AttrList
; (tag
= NextTagItem(&tags
)); )
53 IPTR
Settingsgroup__MUIM_Settingsgroup_ConfigToGadgets(struct IClass
*cl
, Object
*obj
, struct MUIP_Settingsgroup_ConfigToGadgets
*msg
)
55 //struct MUI_Settingsgroup *data = INST_DATA(cl, obj);
59 IPTR
Settingsgroup__MUIM_Settingsgroup_GadgetsToConfig(struct IClass
*cl
, Object
*obj
, struct MUIP_Settingsgroup_GadgetsToConfig
*msg
)
61 //struct MUI_Settingsgroup *data = INST_DATA(cl, obj);
65 #if ZUNE_BUILTIN_SETTINGSGROUP
66 BOOPSI_DISPATCHER(IPTR
, Settingsgroup_Dispatcher
, cl
, obj
, msg
)
68 switch (msg
->MethodID
)
71 return Settingsgroup__OM_NEW(cl
, obj
, (struct opSet
*)msg
);
73 case MUIM_Settingsgroup_ConfigToGadgets
:
74 return Settingsgroup__MUIM_Settingsgroup_ConfigToGadgets(cl
,obj
,(APTR
)msg
);
76 case MUIM_Settingsgroup_GadgetsToConfig
:
77 return Settingsgroup__MUIM_Settingsgroup_GadgetsToConfig(cl
,obj
,(APTR
)msg
);
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 */