2 Copyright 2002-2006, The AROS Development Team. All rights reserved.
6 #include <graphics/gfx.h>
7 #include <graphics/view.h>
8 #include <clib/alib_protos.h>
9 #include <libraries/asl.h>
10 #include <libraries/mui.h>
11 #include <mui/Rawimage_mcc.h>
12 #include <proto/exec.h>
13 #include <proto/graphics.h>
14 #include <proto/utility.h>
15 #include <proto/intuition.h>
16 #include <proto/muimaster.h>
19 #include <proto/alib.h>
22 #include "zunestuff.h"
26 /* #include <aros/debug.h> */
28 extern struct Library
*MUIMasterBase
;
30 struct MUI_ScrollbarsPData
33 Object
*arrow_up_popimage
;
34 Object
*arrow_down_popimage
;
35 Object
*arrow_left_popimage
;
36 Object
*arrow_right_popimage
;
37 Object
*gadget_type_cycle
;
38 Object
*background_popimage
;
39 Object
*knob_popimage
;
40 Object
*pos_radios
[3];
43 static CONST_STRPTR gadget_type_labels
[4];
45 #define FindFont(id) (void*)DoMethod(msg->configdata,MUIM_Dataspace_Find,id)
47 Object
*MakeArrowPopimage (CONST_STRPTR wintitle
)
49 return MUI_NewObject(MUIC_Popimage
,
50 MUIA_Imageadjust_Type
, MUIV_Imageadjust_Type_Image
,
54 MUIA_Imagedisplay_FreeHoriz
, FALSE
,
55 MUIA_Imagedisplay_FreeVert
, FALSE
,
56 MUIA_Window_Title
, (IPTR
)wintitle
,
60 Object
*MakeSingleRadio (void)
63 MUIA_Image_FontMatch
, TRUE
,
64 MUIA_InputMode
, MUIV_InputMode_Immediate
,
66 MUIA_ShowSelState
, FALSE
,
67 MUIA_Image_Spec
, MUII_RadioButton
,
68 MUIA_Frame
, MUIV_Frame_None
,
72 Object
*MakeScrollbar(IPTR type
)
74 return ScrollbarObject
,
75 MUIA_Scrollbar_Type
, type
,
76 MUIA_Prop_Entries
, 10,
82 Object
*MakeSpacer(void)
84 return RectangleObject
, MUIA_FixWidth
, 0, MUIA_FixHeight
, 0, MUIA_Weight
, 1, End
;
87 static IPTR
ScrollbarsP_New(struct IClass
*cl
, Object
*obj
, struct opSet
*msg
)
89 struct MUI_ScrollbarsPData
*data
;
90 struct MUI_ScrollbarsPData d
;
91 gadget_type_labels
[0] = _(MSG_STANDARD
);
92 gadget_type_labels
[1] = _(MSG_NEWLOOK
);
93 gadget_type_labels
[2] = _(MSG_CUSTOM
);
96 obj
= (Object
*) DoSuperNewTags
100 MUIA_Group_Horiz
, TRUE
,
101 Child
, (IPTR
) VGroup
, /* left */
103 Child
, (IPTR
) VGroup
,
104 GroupFrameT(_(MSG_ARROWS
)),
105 MUIA_Group_Spacing
, 0,
106 Child
, (IPTR
) MakeSpacer(),
107 Child
, (IPTR
) HGroup
,
108 MUIA_Group_Spacing
, 0,
109 Child
, (IPTR
) MakeSpacer(),
110 Child
, (IPTR
) ColGroup(4),
111 MUIA_Group_SameHeight
, TRUE
,
112 Child
, (IPTR
) FreeLabel(_(MSG_UP
)),
113 Child
, (IPTR
) (d
.arrow_up_popimage
= MakeArrowPopimage(_(MSG_ARROW_UP
))),
114 Child
, (IPTR
) (d
.arrow_down_popimage
= MakeArrowPopimage(_(MSG_ARROW_DOWN
))),
115 Child
, (IPTR
) FreeLLabel(_(MSG_DOWN
)),
116 Child
, (IPTR
) FreeLabel(_(MSG_LEFT
)),
117 Child
, (IPTR
) (d
.arrow_left_popimage
= MakeArrowPopimage(_(MSG_ARROW_LEFT
))),
118 Child
, (IPTR
) (d
.arrow_right_popimage
= MakeArrowPopimage(_(MSG_ARROW_RIGHT
))),
119 Child
, (IPTR
) FreeLLabel(_(MSG_RIGHT
)),
120 End
, /* ColGroup(6) */
121 Child
, (IPTR
) MakeSpacer(),
123 Child
, (IPTR
) MakeSpacer(),
126 Child
, (IPTR
) VGroup
,
127 GroupFrameT(_(MSG_BAR
)),
128 Child
, (IPTR
) HGroup
,
129 Child
, (IPTR
) Label(_(MSG_GADGET_TYPE
)),
130 Child
, (IPTR
) (d
.gadget_type_cycle
= MakeCycle(_(MSG_GADGET_TYPE
), gadget_type_labels
)),
131 End
, /* HGroup Gadget Type */
132 Child
, (IPTR
) HGroup
,
133 MUIA_Group_SameWidth
, TRUE
,
134 Child
, (IPTR
) VGroup
,
135 MUIA_Group_VertSpacing
, 1,
136 Child
, (IPTR
) (d
.knob_popimage
= MUI_NewObject
139 MUIA_Imageadjust_Type
, MUIV_Imageadjust_Type_Image
,
141 MUIA_Imagedisplay_FreeHoriz
, FALSE
,
142 MUIA_Imagedisplay_FreeVert
, FALSE
,
143 MUIA_Window_Title
, (IPTR
) _(MSG_SCROLLER
),
146 Child
, (IPTR
) CLabel(_(MSG_KNOB
)),
147 End
, /* VGroup Knob */
148 Child
, (IPTR
) VGroup
,
149 MUIA_Group_VertSpacing
, 1,
150 Child
, (IPTR
) (d
.background_popimage
= MakeBackgroundPopimage()),
151 Child
, (IPTR
) CLabel(_(MSG_BACKGROUND
)),
152 End
, /* VGroup Background */
153 End
, /* HGroup Images */
155 End
, /* VGroup left */
156 Child
, (IPTR
) VGroup
,
157 Child
, (IPTR
) VGroup
,
158 GroupFrameT(_(MSG_FRAME
)),
159 Child
, (IPTR
) (d
.popframe
= MakePopframe()),
160 End
, /* Frame VGroup*/
161 Child
, (IPTR
) ColGroup(3),
162 GroupFrameT(_(MSG_ARRANGEMENT
)),
164 Child
, (IPTR
) (d
.pos_radios
[0] = MakeSingleRadio()),
165 Child
, (IPTR
) (d
.pos_radios
[1] = MakeSingleRadio()),
166 Child
, (IPTR
) (d
.pos_radios
[2] = MakeSingleRadio()),
167 Child
, (IPTR
) MakeScrollbar(MUIV_Scrollbar_Type_Top
),
168 Child
, (IPTR
) MakeScrollbar(MUIV_Scrollbar_Type_Sym
),
169 Child
, (IPTR
) MakeScrollbar(MUIV_Scrollbar_Type_Bottom
),
171 End
, /* VGroup right */
172 TAG_MORE
, (IPTR
) msg
->ops_AttrList
);
174 if (!obj
) return FALSE
;
176 data
= INST_DATA(cl
, obj
);
179 DoMethod(d
.gadget_type_cycle
, MUIM_Notify
, MUIA_Cycle_Active
, 2, (IPTR
) obj
,
180 6, MUIM_MultiSet
, MUIA_Disabled
, FALSE
,
181 (IPTR
) d
.background_popimage
, (IPTR
) d
.knob_popimage
, (IPTR
) NULL
);
182 DoMethod(d
.gadget_type_cycle
, MUIM_Notify
, MUIA_Cycle_Active
, 0, (IPTR
) obj
,
183 6, MUIM_MultiSet
, MUIA_Disabled
, TRUE
,
184 (IPTR
) d
.background_popimage
, (IPTR
) d
.knob_popimage
, (IPTR
) NULL
);
185 DoMethod(d
.gadget_type_cycle
, MUIM_Notify
, MUIA_Cycle_Active
, 1, (IPTR
) obj
,
186 6, MUIM_MultiSet
, MUIA_Disabled
, TRUE
,
187 (IPTR
) d
.background_popimage
, (IPTR
) d
.knob_popimage
, (IPTR
) NULL
);
189 DoMethod(d
.pos_radios
[0], MUIM_Notify
, MUIA_Selected
, MUIV_EveryTime
,
190 (IPTR
) d
.pos_radios
[1], 3, MUIM_NoNotifySet
, MUIA_Selected
, FALSE
);
191 DoMethod(d
.pos_radios
[0], MUIM_Notify
, MUIA_Selected
, MUIV_EveryTime
,
192 (IPTR
) d
.pos_radios
[2], 3, MUIM_NoNotifySet
, MUIA_Selected
, FALSE
);
193 DoMethod(d
.pos_radios
[1], MUIM_Notify
, MUIA_Selected
, MUIV_EveryTime
,
194 (IPTR
) d
.pos_radios
[0], 3, MUIM_NoNotifySet
, MUIA_Selected
, FALSE
);
195 DoMethod(d
.pos_radios
[1], MUIM_Notify
, MUIA_Selected
, MUIV_EveryTime
,
196 (IPTR
) d
.pos_radios
[2], 3, MUIM_NoNotifySet
, MUIA_Selected
, FALSE
);
197 DoMethod(d
.pos_radios
[2], MUIM_Notify
, MUIA_Selected
, MUIV_EveryTime
,
198 (IPTR
) d
.pos_radios
[0], 3, MUIM_NoNotifySet
, MUIA_Selected
, FALSE
);
199 DoMethod(d
.pos_radios
[2], MUIM_Notify
, MUIA_Selected
, MUIV_EveryTime
,
200 (IPTR
) d
.pos_radios
[1], 3, MUIM_NoNotifySet
, MUIA_Selected
, FALSE
);
207 * MUIM_Settingsgroup_ConfigToGadgets
209 static IPTR
ScrollbarsP_ConfigToGadgets(struct IClass
*cl
, Object
*obj
,
210 struct MUIP_Settingsgroup_ConfigToGadgets
*msg
)
212 struct MUI_ScrollbarsPData
*data
= INST_DATA(cl
, obj
);
217 spec
= (STRPTR
)DoMethod(msg
->configdata
, MUIM_Configdata_GetString
,
218 MUICFG_Image_ArrowUp
);
219 set(data
->arrow_up_popimage
,MUIA_Imagedisplay_Spec
, (IPTR
)spec
);
220 spec
= (STRPTR
)DoMethod(msg
->configdata
, MUIM_Configdata_GetString
,
221 MUICFG_Image_ArrowDown
);
222 set(data
->arrow_down_popimage
,MUIA_Imagedisplay_Spec
, (IPTR
)spec
);
223 spec
= (STRPTR
)DoMethod(msg
->configdata
, MUIM_Configdata_GetString
,
224 MUICFG_Image_ArrowLeft
);
225 set(data
->arrow_left_popimage
,MUIA_Imagedisplay_Spec
, (IPTR
)spec
);
226 spec
= (STRPTR
)DoMethod(msg
->configdata
, MUIM_Configdata_GetString
,
227 MUICFG_Image_ArrowRight
);
228 set(data
->arrow_right_popimage
,MUIA_Imagedisplay_Spec
, (IPTR
)spec
);
230 spec
= (STRPTR
)DoMethod(msg
->configdata
, MUIM_Configdata_GetString
,
231 MUICFG_Image_PropKnob
);
232 set(data
->knob_popimage
,MUIA_Imagedisplay_Spec
, (IPTR
)spec
);
234 spec
= (STRPTR
)DoMethod(msg
->configdata
, MUIM_Configdata_GetString
,
235 MUICFG_Background_Prop
);
236 set(data
->background_popimage
,MUIA_Imagedisplay_Spec
, (IPTR
)spec
);
239 setcycle(data
->gadget_type_cycle
,
240 DoMethod(msg
->configdata
, MUIM_Configdata_GetULong
,
241 MUICFG_Scrollbar_Type
));
244 spec
= (STRPTR
)DoMethod(msg
->configdata
, MUIM_Configdata_GetString
,
246 set(data
->popframe
, MUIA_Framedisplay_Spec
, (IPTR
)spec
);
248 /* Radio (Arrangement) */
249 pos
= DoMethod(msg
->configdata
, MUIM_Configdata_GetULong
,
250 MUICFG_Scrollbar_Arrangement
);
251 if (pos
< 0 || pos
> 2)
253 set(data
->pos_radios
[pos
], MUIA_Selected
, TRUE
);
260 * MUIM_Settingsgroup_ConfigToGadgets
262 static IPTR
ScrollbarsP_GadgetsToConfig(struct IClass
*cl
, Object
*obj
,
263 struct MUIP_Settingsgroup_GadgetsToConfig
*msg
)
265 struct MUI_ScrollbarsPData
*data
= INST_DATA(cl
, obj
);
271 str
= (STRPTR
)XGET(data
->popframe
, MUIA_Framedisplay_Spec
);
272 DoMethod(msg
->configdata
, MUIM_Configdata_SetFramespec
, MUICFG_Frame_Prop
,
276 DoMethod(msg
->configdata
, MUIM_Configdata_SetULong
, MUICFG_Scrollbar_Type
,
277 XGET(data
->gadget_type_cycle
, MUIA_Cycle_Active
));
280 for (i
= 0; i
< 3; i
++)
282 if (XGET(data
->pos_radios
[i
], MUIA_Selected
))
286 DoMethod(msg
->configdata
, MUIM_Configdata_SetULong
,
287 MUICFG_Scrollbar_Arrangement
, pos
);
290 str
= (STRPTR
)XGET(data
->background_popimage
, MUIA_Imagedisplay_Spec
);
291 DoMethod(msg
->configdata
, MUIM_Configdata_SetImspec
, MUICFG_Background_Prop
,
293 str
= (STRPTR
)XGET(data
->knob_popimage
, MUIA_Imagedisplay_Spec
);
294 DoMethod(msg
->configdata
, MUIM_Configdata_SetImspec
, MUICFG_Image_PropKnob
,
296 str
= (STRPTR
)XGET(data
->arrow_up_popimage
, MUIA_Imagedisplay_Spec
);
297 DoMethod(msg
->configdata
, MUIM_Configdata_SetImspec
, MUICFG_Image_ArrowUp
,
299 str
= (STRPTR
)XGET(data
->arrow_down_popimage
, MUIA_Imagedisplay_Spec
);
300 DoMethod(msg
->configdata
, MUIM_Configdata_SetImspec
, MUICFG_Image_ArrowDown
,
302 str
= (STRPTR
)XGET(data
->arrow_left_popimage
, MUIA_Imagedisplay_Spec
);
303 DoMethod(msg
->configdata
, MUIM_Configdata_SetImspec
, MUICFG_Image_ArrowLeft
,
305 str
= (STRPTR
)XGET(data
->arrow_right_popimage
, MUIA_Imagedisplay_Spec
);
306 DoMethod(msg
->configdata
, MUIM_Configdata_SetImspec
, MUICFG_Image_ArrowRight
,
312 BOOPSI_DISPATCHER(IPTR
, ScrollbarsP_Dispatcher
, cl
, obj
, msg
)
314 switch (msg
->MethodID
)
316 case OM_NEW
: return ScrollbarsP_New(cl
, obj
, (struct opSet
*)msg
);
317 case MUIM_Settingsgroup_ConfigToGadgets
: return ScrollbarsP_ConfigToGadgets(cl
,obj
,(APTR
)msg
);break;
318 case MUIM_Settingsgroup_GadgetsToConfig
: return ScrollbarsP_GadgetsToConfig(cl
,obj
,(APTR
)msg
);break;
321 return DoSuperMethodA(cl
, obj
, msg
);
323 BOOPSI_DISPATCHER_END
328 const struct __MUIBuiltinClass _MUIP_Scrollbars_desc
= {
331 sizeof(struct MUI_ScrollbarsPData
),
332 (void*)ScrollbarsP_Dispatcher
336 static const UBYTE icon32
[] =
338 0x00, 0x00, 0x00, 0x18, // width
339 0x00, 0x00, 0x00, 0x14, // height
340 0x00, 0x00, 0x00, 0x00,
341 0x00, 0x00, 0x00, 0x00, // number of bytes
343 // TOOO: replace this by nice image, preferable BZIP packed.
344 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff,
345 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
346 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
347 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
348 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
349 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
350 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
351 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
352 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
353 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
354 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
355 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
356 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
357 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
358 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
359 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
360 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
361 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff,
362 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
363 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
364 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
365 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
366 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
367 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
368 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
369 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
370 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
371 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
372 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
373 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b,
374 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
375 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff,
376 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
377 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
378 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff,
379 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
380 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
381 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
382 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
383 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
384 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b,
385 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
386 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
387 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
388 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b,
389 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
390 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
391 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
392 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
393 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
394 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
395 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
396 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
397 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
398 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
399 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
400 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
401 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b,
402 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
403 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff,
404 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
405 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
406 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
407 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
408 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
409 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
410 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
411 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
412 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
413 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff,
414 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
415 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
416 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
417 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
418 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b,
419 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
420 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
421 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
422 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
423 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
424 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
425 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
426 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b,
427 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
428 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
429 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
430 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
431 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
432 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
433 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
434 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
435 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
436 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
437 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff,
438 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
439 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
440 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
441 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b,
442 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
443 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
444 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
445 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
446 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
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, 0xad, 0x2b, 0x2b,
457 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
458 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
459 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
460 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b,
461 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
462 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
463 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
464 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
465 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
466 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff,
467 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
468 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
469 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
470 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
471 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
472 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
473 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
474 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
475 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
476 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
477 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b,
478 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
479 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff,
480 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
481 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff,
482 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
483 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
484 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
485 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
486 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
487 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
488 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
489 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
490 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
491 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
492 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
493 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
494 0xff, 0xff, 0xff, 0xff, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
495 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
496 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xff, 0xff, 0xff,
497 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
498 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
499 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
500 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
501 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
502 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff,
503 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b, 0xff, 0xad, 0x2b, 0x2b,
507 Object
*scrollbarsclass_get_icon(void)
509 return RawimageObject
,
510 MUIA_Rawimage_Data
, icon32
,