2 Copyright 1999, David Le Corfec.
3 Copyright 2002, The AROS Development Team.
12 /* API change on Feb-2003 by dlc :
15 imspec = zune_imspec_setup(spec, mri);
18 zune_imspec_show(imspec, obj);
21 zune_imspec_draw(imspec, ...)
23 zune_imspec_hide(imspec);
26 zune_imspec_cleanup(imspec);
32 * zune_imspec_setup() (called in MUIM_Setup) will create and return an internal
33 * structure from an external specification.
34 * zune_imspec_cleanup() (called in MUIM_Cleanup) will free an internal specification.
37 struct MUI_ImageSpec_intern
*zune_imspec_setup(IPTR s
,
38 struct MUI_RenderInfo
*mri
);
39 struct MUI_ImageSpec_intern
*zune_imspec_setup_dummy(IPTR s
);
40 void zune_imspec_cleanup(struct MUI_ImageSpec_intern
*spec
);
41 BOOL
zune_imspec_askminmax(struct MUI_ImageSpec_intern
*spec
,
42 struct MUI_MinMax
*minmax
);
43 void zune_imspec_show(struct MUI_ImageSpec_intern
*spec
, Object
*obj
);
44 void zune_imspec_hide(struct MUI_ImageSpec_intern
*spec
);
45 void zune_imspec_draw(struct MUI_ImageSpec_intern
*img
,
46 struct MUI_RenderInfo
*mri
, LONG left
, LONG top
, LONG width
,
47 LONG height
, LONG xoffset
, LONG yoffset
, LONG state
);
48 void zune_imspec_drawbuffered(struct MUI_ImageSpec_intern
*spec
,
49 struct RastPort
*rp
, struct MUI_RenderInfo
*mri
, LONG left
, LONG top
,
50 LONG width
, LONG height
, LONG xoffset
, LONG yoffset
, LONG state
,
51 LONG dx
, LONG dy
, WORD mode
, LONG abs_l
, LONG abs_t
, LONG abs_r
,
54 /* const char *zune_imspec_to_string(struct MUI_ImageSpec_intern *spec); */
55 STRPTR
zune_image_spec_duplicate(IPTR in
);
56 void zune_image_spec_free(CONST_STRPTR spec
);