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
, struct MUI_RenderInfo
*mri
);
38 void zune_imspec_cleanup(struct MUI_ImageSpec_intern
*spec
);
39 BOOL
zune_imspec_askminmax(struct MUI_ImageSpec_intern
*spec
, struct MUI_MinMax
*minmax
);
40 void zune_imspec_show(struct MUI_ImageSpec_intern
*spec
, Object
*obj
);
41 void zune_imspec_hide(struct MUI_ImageSpec_intern
*spec
);
42 void zune_imspec_draw (struct MUI_ImageSpec_intern
*img
, struct MUI_RenderInfo
*mri
,
43 LONG left
, LONG top
, LONG width
, LONG height
,
44 LONG xoffset
, LONG yoffset
, LONG state
);
45 void zune_imspec_drawbuffered (struct MUI_ImageSpec_intern
*spec
, struct RastPort
*rp
, struct MUI_RenderInfo
*mri
,
46 LONG left
, LONG top
, LONG width
, LONG height
,
47 LONG xoffset
, LONG yoffset
, LONG state
, LONG dx
, LONG dy
, WORD mode
, LONG abs_l
, LONG abs_t
, LONG abs_r
, LONG abs_b
);
49 /* const char *zune_imspec_to_string(struct MUI_ImageSpec_intern *spec); */
50 STRPTR
zune_image_spec_duplicate(IPTR in
);
51 void zune_image_spec_free(CONST_STRPTR spec
);