revert 213 commits (to 56092) from the last month. 10 still need work to resolve...
[AROS.git] / workbench / tools / SysExplorer / Modules / Gfx / gfxmonitor_window_cl.c
blob377dee9bac9f80f6af30bc221b6ac283e55d6441
1 /*
2 Copyright (C) 2013-2018, 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 "gfx_classes.h"
26 #include "cpuspecific.h"
27 #include "locale.h"
29 #include <zune/customclasses.h>
31 /*** Instance Data **********************************************************/
32 struct MonitorWindow_DATA
34 /* Nothing to add */
37 static Object *MonitorWindow__OM_NEW(Class *cl, Object *self, struct opSet *msg)
39 STRPTR pagetitles[3] =
41 "General",
42 "Capabilities",
43 NULL
46 IPTR name;
47 OOP_Object *display_obj =
48 (OOP_Object *)GetTagData(MUIA_PropertyWin_Object, 0, msg->ops_AttrList);
50 OOP_GetAttr(display_obj, aHidd_Name, &name);
52 self = (Object *) DoSuperNewTags
54 cl, self, NULL,
55 MUIA_Window_Title, name,
56 MUIA_Window_ID, MAKE_ID('D', 'I', 'S', 'P'),
57 WindowContents, (IPTR)(RegisterObject,
58 MUIA_Register_Titles, (IPTR) pagetitles,
59 Child, VGroup,
60 Child, HVSpace,
61 End,
62 Child, VGroup,
63 Child, HVSpace,
64 End,
65 End),
66 TAG_DONE
69 return self;
72 /*** Setup ******************************************************************/
73 ZUNE_CUSTOMCLASS_1
75 MonitorWindow, NULL, MUIC_Window, NULL,
76 OM_NEW, struct opSet *