2 Copyright 2003, The AROS Development Team.
11 #ifndef LIBRARIES_MUI_H
15 struct MUI_PenSpec_intern
18 struct MUI_RenderInfo
*p_mri
;
19 ULONG p_pen
; /* actual graphics pen, only valid between setup/cleanup */
26 struct MUI_RGBcolor p_rgb
;
32 #define p_cmap u.p_cmap
35 /* From ASCII to internal representation */
36 BOOL
zune_pen_spec_to_intern(const struct MUI_PenSpec
*spec
,
37 struct MUI_PenSpec_intern
*intern
);
38 BOOL
zune_pen_string_to_intern(CONST_STRPTR spec
,
39 struct MUI_PenSpec_intern
*intern
);
40 /* From internal representation to ASCII */
41 BOOL
zune_pen_intern_to_spec(const struct MUI_PenSpec_intern
*intern
,
42 struct MUI_PenSpec
*spec
);
43 void zune_penspec_fill_muipen(struct MUI_PenSpec_intern
*psi
, LONG muipen
);
44 void zune_penspec_fill_rgb(struct MUI_PenSpec_intern
*psi
, ULONG r
, ULONG g
,
47 BOOL
zune_penspec_setup(struct MUI_PenSpec_intern
*pen
,
48 struct MUI_RenderInfo
*mri
);
49 BOOL
zune_penspec_cleanup(struct MUI_PenSpec_intern
*pen
);
51 void zune_penspec_draw(struct MUI_PenSpec_intern
*psi
,
52 struct MUI_RenderInfo
*mri
, LONG left
, LONG top
, LONG right
,
54 void zune_penspec_drawdirect(struct MUI_PenSpec_intern
*psi
,
55 struct RastPort
*rp
, struct MUI_RenderInfo
*mri
, LONG left
, LONG top
,
56 LONG right
, LONG bottom
);
58 #endif /* MUI_PENSPEC_H */