Use hardcoded settings for VIA VT1708S (they are reported to work
[AROS.git] / workbench / prefs / Zune / zunestuff.h
blob17002d097e95c91c8064a88229e76ad53367681b
1 #ifndef _ZUNE_ZUNESTUFF_H
2 #define _ZUNE_ZUNESTUFF_H
4 /*
5 Copyright 2002-2012, The AROS Development Team. All rights reserved.
6 $Id$
7 */
9 #include <intuition/classusr.h>
10 #include <libraries/mui.h>
11 #include <libraries/asl.h>
12 #include "locale.h"
14 struct ClassListview_DATA
16 Object *list;
17 struct MUI_EventHandlerNode ehn;
20 Object *MakeButton (CONST_STRPTR str);
21 Object *MakeCycle (CONST_STRPTR label, CONST_STRPTR entries[]);
22 Object *MakeCheck (CONST_STRPTR label);
23 Object *MakeSpacingSlider (void);
24 Object *MakeBackgroundPopimage(void);
25 Object *MakePopframe(void);
26 Object *MakePoppen(void);
27 Object *MakeString(void);
28 Object *MakePopfont(BOOL fixed);
29 Object *MakePopfile(BOOL fixed, CONST_STRPTR pattern);
31 long aslfilerequest(char *msg,char *dirpart,char *filepart,char *fullname, struct TagItem *tags);
33 void SliderToConfig (Object *slider, Object *configdata, ULONG cfg);
34 void CheckmarkToConfig (Object *checkmark, Object *configdata, ULONG cfg);
35 void FrameToConfig (Object *popframe, Object *configdata, ULONG cfg);
36 void PenToConfig (Object *poppen, Object *configdata, ULONG cfg);
37 void CycleToConfig (Object *cycle, Object *configdata, ULONG cfg);
38 void StringToConfig (Object *string, Object *configdata, ULONG cfg);
40 void ConfigToSlider (Object *configdata, ULONG cfg, Object *slider);
41 void ConfigToCheckmark (Object *configdata, ULONG cfg, Object *checkmark);
42 void ConfigToFrame (Object *configdata, ULONG cfg, Object *popframe);
43 void ConfigToPen (Object *configdata, ULONG cfg, Object *poppen);
44 void ConfigToCycle (Object *configdata, ULONG cfg, Object *cycle);
45 void ConfigToString (Object *configdata, ULONG cfg, Object *string);
47 #ifndef __GNUC__
48 LONG XGET(Object * obj, ULONG attr);
49 #endif
51 #define getstring(obj) (char*)XGET(obj,MUIA_String_Contents)
52 #define FindFont(id) (void*)DoMethod(msg->configdata,MUIM_Dataspace_Find,id)
54 #ifdef __amigaos4__
55 Object *VARARGS68K DoSuperNewTags(struct IClass *cl, Object *obj, void *dummy, ...);
56 #endif
59 #endif /* _ZUNE_ZUNESTUFF_H */