added concrete implementations of putc(), getc(), getchar() and gets()
[tangerine.git] / workbench / libs / muimaster / imspec.h
blob31dea08ded1eb9e6c57630fdad046468ba8dbe4b
1 /*
2 Copyright 1999, David Le Corfec.
3 Copyright 2002, The AROS Development Team.
4 All rights reserved.
6 $Id$
7 */
9 #ifndef _MUI_IMSPEC_H
10 #define _MUI_IMSPEC_H
12 /* API change on Feb-2003 by dlc :
13 * MUIM_Setup
15 imspec = zune_imspec_setup(spec, mri);
16 MUIM_Show
18 zune_imspec_show(imspec, obj);
19 MUIM_Draw
21 zune_imspec_draw(imspec, ...)
23 zune_imspec_hide(imspec);
25 MUIM_Hide
26 zune_imspec_cleanup(imspec);
27 imspec = NULL;
29 MUIM_Cleanup
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 struct MUI_ImageSpec_intern *zune_imspec_setup_dummy(IPTR s);
39 void zune_imspec_cleanup(struct MUI_ImageSpec_intern *spec);
40 BOOL zune_imspec_askminmax(struct MUI_ImageSpec_intern *spec, struct MUI_MinMax *minmax);
41 void zune_imspec_show(struct MUI_ImageSpec_intern *spec, Object *obj);
42 void zune_imspec_hide(struct MUI_ImageSpec_intern *spec);
43 void zune_imspec_draw (struct MUI_ImageSpec_intern *img, struct MUI_RenderInfo *mri,
44 LONG left, LONG top, LONG width, LONG height,
45 LONG xoffset, LONG yoffset, LONG state);
46 void zune_imspec_drawbuffered (struct MUI_ImageSpec_intern *spec, struct RastPort *rp, struct MUI_RenderInfo *mri,
47 LONG left, LONG top, LONG width, LONG height,
48 LONG xoffset, LONG yoffset, LONG state, LONG dx, LONG dy, WORD mode, LONG abs_l, LONG abs_t, LONG abs_r, LONG abs_b);
50 /* const char *zune_imspec_to_string(struct MUI_ImageSpec_intern *spec); */
51 STRPTR zune_image_spec_duplicate(IPTR in);
52 void zune_image_spec_free(CONST_STRPTR spec);
54 #endif