1 #ifndef _ZUNE_ZUNESTUFF_H
2 #define _ZUNE_ZUNESTUFF_H
5 Copyright 2002-2006, The AROS Development Team. All rights reserved.
9 #include <intuition/classusr.h>
10 #include <libraries/asl.h>
13 Object
*MakeButton (CONST_STRPTR str
);
14 Object
*MakeCycle (CONST_STRPTR label
, CONST_STRPTR entries
[]);
15 Object
*MakeCheck (CONST_STRPTR label
);
16 Object
*MakeSpacingSlider (void);
17 Object
*MakeBackgroundPopimage(void);
18 Object
*MakePopframe(void);
19 Object
*MakePoppen(void);
20 Object
*MakeString(void);
21 Object
*MakePopfont(BOOL fixed
);
22 Object
*MakePopfile(BOOL fixed
, CONST_STRPTR pattern
);
24 long aslfilerequest(char *msg
,char *dirpart
,char *filepart
,char *fullname
, struct TagItem
*tags
);
26 void SliderToConfig (Object
*slider
, Object
*configdata
, ULONG cfg
);
27 void CheckmarkToConfig (Object
*checkmark
, Object
*configdata
, ULONG cfg
);
28 void FrameToConfig (Object
*popframe
, Object
*configdata
, ULONG cfg
);
29 void PenToConfig (Object
*poppen
, Object
*configdata
, ULONG cfg
);
30 void CycleToConfig (Object
*cycle
, Object
*configdata
, ULONG cfg
);
31 void StringToConfig (Object
*string
, Object
*configdata
, ULONG cfg
);
33 void ConfigToSlider (Object
*configdata
, ULONG cfg
, Object
*slider
);
34 void ConfigToCheckmark (Object
*configdata
, ULONG cfg
, Object
*checkmark
);
35 void ConfigToFrame (Object
*configdata
, ULONG cfg
, Object
*popframe
);
36 void ConfigToPen (Object
*configdata
, ULONG cfg
, Object
*poppen
);
37 void ConfigToCycle (Object
*configdata
, ULONG cfg
, Object
*cycle
);
38 void ConfigToString (Object
*configdata
, ULONG cfg
, Object
*string
);
41 LONG
XGET(Object
* obj
, ULONG attr
);
44 #define getstring(obj) (char*)XGET(obj,MUIA_String_Contents)
45 #define FindFont(id) (void*)DoMethod(msg->configdata,MUIM_Dataspace_Find,id)
48 Object
*VARARGS68K
DoSuperNewTags(struct IClass
*cl
, Object
*obj
, void *dummy
, ...);
52 #endif /* _ZUNE_ZUNESTUFF_H */