SysMon: remove dead code
[AROS.git] / workbench / prefs / Zune / systemp.c
blob979af5de86ec6792464b521e3109e17c98417674
1 /*
2 Copyright 2009, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 #include <graphics/gfx.h>
7 #include <graphics/view.h>
8 #include <dos/dos.h>
9 #include <clib/alib_protos.h>
10 #include <libraries/asl.h>
11 #include <libraries/mui.h>
12 #include <libraries/muiscreen.h>
13 #include <mui/Rawimage_mcc.h>
14 #include <proto/exec.h>
15 #include <proto/graphics.h>
16 #include <proto/utility.h>
17 #include <proto/intuition.h>
18 #include <proto/muimaster.h>
19 #include <proto/muiscreen.h>
20 #include <proto/dos.h>
21 #include <zune/customclasses.h>
23 #ifdef __AROS__
24 #include <proto/alib.h>
25 //#define DEBUG 1
26 //#include <aros/debug.h>
27 #endif
29 #include "zunestuff.h"
30 #include <string.h>
31 #include <stdio.h>
33 extern struct Library *MUIMasterBase;
35 /* Utility class for the bubble help time slider */
37 struct BubbleSlider_DATA
39 char buf[20];
42 IPTR BubbleSlider__MUIM_Numeric_Stringify(struct IClass *cl, Object * obj, struct MUIP_Numeric_Stringify *msg)
44 struct BubbleSlider_DATA *data = INST_DATA(cl, obj);
46 if(msg->value != 0)
47 snprintf(data->buf, sizeof(data->buf) - 1, "%.1f s", 0.1 * msg->value);
48 else
49 snprintf(data->buf, sizeof(data->buf) - 1, "off");
51 data->buf[sizeof(data->buf) - 1] = 0;
53 return (IPTR)data->buf;
56 ZUNE_CUSTOMCLASS_1(
57 BubbleSlider, NULL, MUIC_Slider, NULL,
58 MUIM_Numeric_Stringify, struct MUIP_Numeric_Stringify*
61 /* Utility class for choosing public screen */
63 #define PSD_NAME_DEFAULT "«Default»"
65 struct PopPublicScreen_DATA
67 struct Hook strobj_hook;
68 struct Hook objstr_hook;
69 Object *list;
72 LONG PopPublicScreenStrObjFunc(struct Hook *hook, Object *popup, Object *str)
74 struct PopPublicScreen_DATA *data = (struct PopPublicScreen_DATA *)hook->h_Data;
75 struct List *pubscrlist;
76 struct PubScreenNode *pubscrnode;
77 STRPTR strtext = NULL, listentry;
78 LONG index;
79 struct MUI_PubScreenDesc *desc;
80 APTR pfh;
82 set(data->list,MUIA_List_Quiet,TRUE);
84 DoMethod(data->list, MUIM_List_Clear);
85 DoMethod(data->list, MUIM_List_InsertSingle, PSD_NAME_DEFAULT, MUIV_List_Insert_Bottom);
86 DoMethod(data->list, MUIM_List_InsertSingle, PSD_NAME_FRONTMOST, MUIV_List_Insert_Bottom);
88 if ( (pfh = MUIS_OpenPubFile(PSD_FILENAME_USE, MODE_OLDFILE)) )
90 while ( (desc = MUIS_ReadPubFile(pfh)) )
92 DoMethod(data->list, MUIM_List_InsertSingle, desc->Name, MUIV_List_Insert_Bottom);
94 MUIS_ClosePubFile(pfh);
97 pubscrlist = LockPubScreenList();
98 ForeachNode(pubscrlist, pubscrnode)
100 DoMethod(data->list, MUIM_List_InsertSingle, (IPTR)pubscrnode->psn_Node.ln_Name, MUIV_List_Insert_Bottom);
102 UnlockPubScreenList();
104 set(data->list,MUIA_List_Quiet,FALSE);
106 get(str, MUIA_String_Contents, &strtext);
108 for(index = 0; ; index++)
110 DoMethod(data->list, MUIM_List_GetEntry, index, (IPTR)&listentry);
112 if (!listentry)
114 set(data->list, MUIA_List_Active, strtext[0] ? MUIV_List_Active_Off : 0);
115 break;
118 if (stricmp(strtext, listentry) == 0)
120 set(data->list, MUIA_List_Active, index);
121 break;
125 return TRUE;
128 void PopPublicScreenObjStrFunc(struct Hook *hook, Object *popup, Object *str)
130 STRPTR listentry;
132 DoMethod(popup, MUIM_List_GetEntry, MUIV_List_GetEntry_Active, (IPTR)&listentry);
134 if (listentry)
136 if (strcmp(listentry, PSD_NAME_DEFAULT) == 0)
137 set(str, MUIA_String_Contents, "");
138 else
139 set(str, MUIA_String_Contents, listentry);
143 IPTR PopPublicScreen__OM_NEW(struct IClass *cl, Object *obj, struct opSet *msg)
145 Object *lv, *list;
147 obj = (Object *)DoSuperNewTags
149 cl, obj, NULL,
150 MUIA_Popobject_Object, (IPTR)(lv = (Object *)ListviewObject,
151 MUIA_Listview_List, (IPTR)(list = (Object *)ListObject,
152 InputListFrame,
153 End),
154 End),
155 TAG_MORE, (IPTR) msg->ops_AttrList
158 if (obj)
160 struct PopPublicScreen_DATA *data = INST_DATA(cl, obj);
162 data->list = list;
164 data->strobj_hook.h_Entry = HookEntry;
165 data->strobj_hook.h_SubEntry = (HOOKFUNC)PopPublicScreenStrObjFunc;
166 data->strobj_hook.h_Data = data;
168 data->objstr_hook.h_Entry = HookEntry;
169 data->objstr_hook.h_SubEntry = (HOOKFUNC)PopPublicScreenObjStrFunc;
170 data->objstr_hook.h_Data = data;
172 SetAttrs(obj, MUIA_Popobject_StrObjHook, (IPTR)&data->strobj_hook,
173 MUIA_Popobject_ObjStrHook, (IPTR)&data->objstr_hook,
174 TAG_DONE);
177 DoMethod(lv, MUIM_Notify, MUIA_Listview_DoubleClick, TRUE,
178 (IPTR)obj, 2, MUIM_Popstring_Close, TRUE);
181 return (IPTR)obj;
184 ZUNE_CUSTOMCLASS_1(
185 PopPublicScreen, NULL, MUIC_Popobject, NULL,
186 OM_NEW, struct opSet*
189 /* Preferences System tab class */
191 struct MUI_SystemPData
193 Object *screen_name_string;
194 Object *call_psi_button;
195 Object *pop_to_front_checkmark;
196 Object *hotkey_string;
197 Object *show_icon_checkmark;
198 Object *show_menu_checkmark;
199 Object *on_startup_checkmark;
200 Object *arexx_checkmark;
201 Object *first_bubble_slider;
202 Object *next_bubble_slider;
203 struct Hook psiHook;
206 static IPTR ExecuteScreenInspectorFunc(struct Hook *hook, Object *caller, void *data)
208 struct TagItem tags[] =
210 { SYS_Asynch, TRUE },
211 { SYS_Input, 0 },
212 { SYS_Output, 0 },
213 { NP_StackSize, AROS_STACKSIZE },
214 { TAG_DONE }
217 if (SystemTagList("sys:prefs/psi", tags) == -1)
219 return (IPTR) FALSE;
222 return (IPTR) TRUE;
225 static IPTR SystemP_New(struct IClass *cl, Object *obj, struct opSet *msg)
227 struct MUI_SystemPData *data;
228 struct MUI_SystemPData d;
230 obj = (Object *) DoSuperNewTags
232 cl, obj, NULL,
234 MUIA_Group_Columns, 2,
235 MUIA_Group_SameSize, TRUE,
237 Child, (IPTR) VGroup,
238 GroupFrameT(_(MSG_PUBLIC_SCREEN)),
239 MUIA_Group_VertSpacing, 0,
240 Child, (IPTR) VSpace(0),
241 Child, (IPTR) ColGroup(2),
242 Child, (IPTR) Label1(_(MSG_NAME)),
243 Child, NewObject(PopPublicScreen_CLASS->mcc_Class, NULL,
244 MUIA_Popstring_String, (IPTR) (d.screen_name_string = StringObject, MUIA_Frame, MUIV_Frame_String, End),
245 MUIA_Popstring_Button, PopButton(MUII_PopUp),
246 TAG_END),
247 Child, HSpace(0),
248 Child, (IPTR) (d.call_psi_button = SimpleButton(_(MSG_CALL_INSPECTOR))),
249 Child, (IPTR) Label1(_(MSG_POP_TO_FRONT)),
250 Child, HGroup,
251 Child, (IPTR) (d.pop_to_front_checkmark = MakeCheck(NULL)),
252 Child, RectangleObject, End,
253 End,
254 End,
255 Child, (IPTR) VSpace(0),
256 End,
258 Child, (IPTR) VGroup,
259 GroupFrameT(_(MSG_ICONIFICATION)),
260 MUIA_Group_VertSpacing, 0,
261 Child, (IPTR) VSpace(0),
262 Child, (IPTR) ColGroup(2),
263 Child, (IPTR) Label1(_(MSG_HOTKEY)),
264 Child, (IPTR) (d.hotkey_string = MakeString()),
265 Child, (IPTR) Label1(_(MSG_SHOW)),
266 Child, HGroup,
267 Child, (IPTR) (d.show_icon_checkmark = MakeCheck(NULL)),
268 Child, (IPTR) Label1(_(MSG_ICON)),
269 Child, (IPTR) (d.show_menu_checkmark = MakeCheck(NULL)),
270 Child, (IPTR) Label1(_(MSG_MENU)),
271 End,
272 Child, (IPTR) Label1(_(MSG_ON_STARTUP)),
273 Child, HGroup,
274 Child, (IPTR) (d.on_startup_checkmark = MakeCheck(NULL)),
275 Child, RectangleObject, End,
276 End,
277 End,
278 Child, (IPTR) VSpace(0),
279 End,
281 Child, (IPTR) VGroup,
282 GroupFrameT(_(MSG_INTERFACES)),
283 MUIA_Group_VertSpacing, 0,
284 Child, (IPTR) VSpace(0),
285 Child, (IPTR) HGroup,
286 Child, HSpace(0),
287 Child, (IPTR) Label1(_(MSG_AREXX)),
288 Child, (IPTR) (d.arexx_checkmark = MakeCheck(NULL)),
289 Child, HSpace(0),
290 End,
291 Child, (IPTR) VSpace(0),
292 End,
294 Child, (IPTR) VGroup,
295 GroupFrameT(_(MSG_BUBBLE_HELP)),
296 MUIA_Group_VertSpacing, 0,
297 Child, (IPTR) VSpace(0),
298 Child, (IPTR) ColGroup(2),
299 Child, (IPTR) Label1(_(MSG_FIRST_BUBBLE)),
300 Child, (IPTR) (d.first_bubble_slider = NewObject(BubbleSlider_CLASS->mcc_Class, NULL, MUIA_Numeric_Min, 0, MUIA_Numeric_Max, 50, TAG_END)),
301 Child, (IPTR) Label1(_(MSG_NEXT_BUBBLE)),
302 Child, (IPTR) (d.next_bubble_slider = NewObject(BubbleSlider_CLASS->mcc_Class, NULL, MUIA_Numeric_Min, 0, MUIA_Numeric_Max, 50, TAG_END)),
303 End,
304 Child, (IPTR) VSpace(0),
305 End,
307 TAG_MORE, (IPTR) msg->ops_AttrList);
309 if (!obj) return FALSE;
311 d.psiHook.h_Entry = HookEntry;
312 d.psiHook.h_SubEntry = (HOOKFUNC) ExecuteScreenInspectorFunc;
314 data = INST_DATA(cl, obj);
315 *data = d;
317 DoMethod(
318 d.first_bubble_slider, MUIM_Notify, MUIA_Numeric_Value, MUIV_EveryTime,
319 d.next_bubble_slider, (IPTR) 3, MUIM_Set, MUIA_Disabled, MUIV_NotTriggerValue
322 DoMethod(
323 d.call_psi_button, MUIM_Notify, MUIA_Pressed, FALSE,
324 obj, (IPTR) 2, MUIM_CallHook, &data->psiHook
327 return (IPTR)obj;
331 static IPTR SystemP_ConfigToGadgets(struct IClass *cl, Object *obj,
332 struct MUIP_Settingsgroup_ConfigToGadgets *msg)
334 struct MUI_SystemPData *data = INST_DATA(cl, obj);
336 ConfigToString(msg->configdata, MUICFG_PublicScreen, data->screen_name_string);
337 ConfigToCheckmark(msg->configdata, MUICFG_PublicScreen_PopToFront, data->pop_to_front_checkmark);
338 ConfigToString(msg->configdata, MUICFG_Iconification_Hotkey, data->hotkey_string);
339 ConfigToCheckmark(msg->configdata, MUICFG_Iconification_ShowIcon, data->show_icon_checkmark);
340 ConfigToCheckmark(msg->configdata, MUICFG_Iconification_ShowMenu, data->show_menu_checkmark);
341 ConfigToCheckmark(msg->configdata, MUICFG_Iconification_OnStartup, data->on_startup_checkmark);
342 ConfigToCheckmark(msg->configdata, MUICFG_Interfaces_EnableARexx, data->arexx_checkmark);
343 ConfigToSlider(msg->configdata, MUICFG_BubbleHelp_FirstDelay, data->first_bubble_slider);
344 ConfigToSlider(msg->configdata, MUICFG_BubbleHelp_NextDelay, data->next_bubble_slider);
346 return 1;
350 static IPTR SystemP_GadgetsToConfig(struct IClass *cl, Object *obj,
351 struct MUIP_Settingsgroup_GadgetsToConfig *msg)
353 struct MUI_SystemPData *data = INST_DATA(cl, obj);
355 StringToConfig(data->screen_name_string, msg->configdata, MUICFG_PublicScreen);
356 CheckmarkToConfig(data->pop_to_front_checkmark, msg->configdata, MUICFG_PublicScreen_PopToFront);
357 StringToConfig(data->hotkey_string, msg->configdata, MUICFG_Iconification_Hotkey);
358 CheckmarkToConfig(data->show_icon_checkmark, msg->configdata, MUICFG_Iconification_ShowIcon);
359 CheckmarkToConfig(data->show_menu_checkmark, msg->configdata, MUICFG_Iconification_ShowMenu);
360 CheckmarkToConfig(data->on_startup_checkmark, msg->configdata, MUICFG_Iconification_OnStartup);
361 CheckmarkToConfig(data->arexx_checkmark, msg->configdata, MUICFG_Interfaces_EnableARexx);
362 SliderToConfig(data->first_bubble_slider, msg->configdata, MUICFG_BubbleHelp_FirstDelay);
363 SliderToConfig(data->next_bubble_slider, msg->configdata, MUICFG_BubbleHelp_NextDelay);
365 return TRUE;
368 BOOPSI_DISPATCHER(IPTR, SystemP_Dispatcher, cl, obj, msg)
370 switch (msg->MethodID)
372 case OM_NEW: return SystemP_New(cl, obj, (struct opSet *)msg);
373 case MUIM_Settingsgroup_ConfigToGadgets: return SystemP_ConfigToGadgets(cl,obj,(APTR)msg);break;
374 case MUIM_Settingsgroup_GadgetsToConfig: return SystemP_GadgetsToConfig(cl,obj,(APTR)msg);break;
377 return DoSuperMethodA(cl, obj, msg);
379 BOOPSI_DISPATCHER_END
382 * Class descriptor.
384 const struct __MUIBuiltinClass _MUIP_System_desc = {
385 "System",
386 MUIC_Group,
387 sizeof(struct MUI_SystemPData),
388 (void*)SystemP_Dispatcher
392 static const UBYTE icon32[] =
394 0x00, 0x00, 0x00, 0x18, // width
395 0x00, 0x00, 0x00, 0x14, // height
396 0x00, 0x00, 0x00, 0x00,
397 0x00, 0x00, 0x00, 0x00, // number of bytes
399 // TOOO: replace this by nice image, preferable BZIP packed.
400 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff,
401 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
402 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
403 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
404 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
405 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
406 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
407 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
408 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
409 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
410 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
411 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
412 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
413 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
414 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
415 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
416 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
417 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff,
418 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
419 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
420 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
421 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
422 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
423 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
424 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
425 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
426 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
427 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
428 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
429 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b,
430 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
431 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff,
432 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
433 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
434 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff,
435 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
436 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
437 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
438 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
439 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
440 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b,
441 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
442 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
443 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
444 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b,
445 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
446 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
447 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
448 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
449 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
450 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
451 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
452 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
453 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
454 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
455 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
456 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
457 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b,
458 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
459 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff,
460 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
461 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
462 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
463 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
464 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
465 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
466 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
467 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
468 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
469 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff,
470 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
471 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
472 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
473 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
474 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b,
475 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
476 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
477 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
478 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
479 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
480 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
481 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
482 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b,
483 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
484 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
485 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
486 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
487 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
488 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
489 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
490 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
491 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
492 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
493 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff,
494 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
495 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
496 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
497 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b,
498 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
499 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
500 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
501 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
502 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
503 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
504 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
505 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
506 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
507 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
508 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
509 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
510 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
511 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
512 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b,
513 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
514 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
515 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
516 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b,
517 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
518 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
519 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
520 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
521 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
522 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff,
523 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
524 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
525 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
526 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
527 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
528 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
529 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
530 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
531 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
532 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
533 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b,
534 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
535 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff,
536 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
537 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff,
538 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
539 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
540 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
541 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
542 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
543 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
544 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
545 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
546 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
547 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
548 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
549 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
550 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
551 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
552 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff,
553 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
554 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
555 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
556 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
557 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
558 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
559 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
563 Object *systemclass_get_icon(void)
565 return RawimageObject,
566 MUIA_Rawimage_Data, icon32,
567 End;