Tabs to spaces, more consistent formatting.
[AROS.git] / workbench / libs / muimaster / classes / virtgroup.c
bloba5fde8756d8f3bf9ce030fa63c29aa11c870287d
1 /*
2 Copyright © 2002-2003, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #define MUIMASTER_YES_INLINE_STDARG
8 #include <exec/memory.h>
9 #include <intuition/icclass.h>
10 #include <intuition/gadgetclass.h>
11 #include <intuition/imageclass.h>
12 #include <clib/alib_protos.h>
13 #include <proto/exec.h>
14 #include <proto/intuition.h>
15 #include <proto/utility.h>
16 #include <proto/graphics.h>
17 #include <proto/muimaster.h>
19 #include "mui.h"
20 #include "muimaster_intern.h"
21 #include "support.h"
22 #include "support_classes.h"
24 extern struct Library *MUIMasterBase;
26 IPTR Virtgroup__OM_NEW(struct IClass *cl, Object *obj, struct opSet *msg)
28 return DoSuperNewTags
29 (cl, obj, NULL,
30 MUIA_Group_Virtual, TRUE, TAG_MORE, (IPTR) msg->ops_AttrList);
33 #if ZUNE_BUILTIN_VIRTGROUP
34 BOOPSI_DISPATCHER(IPTR, Virtgroup_Dispatcher, cl, obj, msg)
36 switch (msg->MethodID)
38 case OM_NEW:
39 return Virtgroup__OM_NEW(cl, obj, (struct opSet *)msg);
40 default:
41 return DoSuperMethodA(cl, obj, msg);
44 BOOPSI_DISPATCHER_END
46 const struct __MUIBuiltinClass _MUI_Virtgroup_desc =
48 MUIC_Virtgroup,
49 MUIC_Group,
51 (void *) Virtgroup_Dispatcher
53 #endif /* ZUNE_BUILTIN_VIRTGROUP */