grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / libs / muimaster / imspec.h
blob91f1c8fb319c787dfbda76c7ba637b5d3dec86de
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,
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,
52 LONG abs_b);
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);
58 #endif