New bitmap method SetRGBConversionFunction which can be used to
[tangerine.git] / rom / graphics / videocontrol.c
blob031f76a7d5021be34e94c76d07fac8f6ddf35a25
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Graphics function VideoControl()
6 Lang: english
7 */
8 #include <aros/debug.h>
9 #include <graphics/view.h>
10 #include <utility/tagitem.h>
12 /*****************************************************************************
14 NAME */
15 #include <proto/graphics.h>
17 AROS_LH2(ULONG, VideoControl,
19 /* SYNOPSIS */
20 AROS_LHA(struct ColorMap *, cm, A0),
21 AROS_LHA(struct TagItem *, tags, A1),
23 /* LOCATION */
24 struct GfxBase *, GfxBase, 118, Graphics)
26 /* FUNCTION
28 INPUTS
29 cm - pointer to struct ColorMap obtained via GetColorMap()
30 tags - pointer to a table of videocontrol tagitems
32 RESULT
33 error - 0 if no error ocurred in the control operation
34 non-0 if bad colormap pointer, no tagitems or bad tag
35 NOTES
37 EXAMPLE
39 BUGS
41 SEE ALSO
43 INTERNALS
45 HISTORY
48 ******************************************************************************/
50 AROS_LIBFUNC_INIT
51 AROS_LIBBASE_EXT_DECL(struct GfxBase *,GfxBase)
53 #warning TODO: Write graphics/VideoControl()
54 aros_print_not_implemented ("VideoControl");
56 return 1;
58 AROS_LIBFUNC_EXIT
59 } /* VideoControl */