grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / tools / SysExplorer / generic_window_cl.c
blobf6e6194d02a8f8ee446fbc416211fcbb540c5803
1 /*
2 Copyright (C) 2013, The AROS Development Team.
3 $Id$
4 */
6 #define MUIMASTER_YES_INLINE_STDARG
8 #include <exec/memory.h>
9 #include <hidd/hidd.h>
10 #include <libraries/mui.h>
11 #include <mui/NFloattext_mcc.h>
12 #include <utility/tagitem.h>
13 #include <utility/hooks.h>
15 #include <proto/alib.h>
16 #include <proto/exec.h>
17 #include <proto/muimaster.h>
18 #include <proto/utility.h>
19 #include <proto/intuition.h>
21 #include <ctype.h>
22 #include <stdio.h>
23 #include <stdlib.h>
25 #include "classes.h"
26 #include "cpuspecific.h"
27 #include "locale.h"
29 #include <zune/customclasses.h>
31 /*** Instance Data **********************************************************/
32 struct GenericWindow_DATA
34 /* Nothing to add */
37 static Object *GenericWindow__OM_NEW(Class *cl, Object *self, struct opSet *msg)
39 self = (Object *) DoSuperNewTags
41 cl, self, NULL,
42 MUIA_Window_Title, __(MSG_DEVICE_PROPERTIES),
43 MUIA_Window_ID, MAKE_ID('D', 'E', 'V', 'P'),
44 WindowContents, (IPTR)(DevicePageObject,
45 TAG_MORE, (IPTR)msg->ops_AttrList,
46 End),
47 TAG_DONE
50 return self;
53 /*** Setup ******************************************************************/
54 ZUNE_CUSTOMCLASS_1
56 GenericWindow, NULL, MUIC_Window, NULL,
57 OM_NEW, struct opSet *