New bitmap method SetRGBConversionFunction which can be used to
[tangerine.git] / rom / graphics / coercemode.c
blob9626806684737f79787c8d42d58d2a675f420559
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Graphics function CoerceMode()
6 Lang: english
7 */
8 #include <aros/debug.h>
9 #include <graphics/view.h>
11 /*****************************************************************************
13 NAME */
14 #include <proto/graphics.h>
16 AROS_LH3(ULONG, CoerceMode,
18 /* SYNOPSIS */
19 AROS_LHA(struct ViewPort *, RealViewPort, A0),
20 AROS_LHA(ULONG, MonitorID, D0),
21 AROS_LHA(ULONG, Flags, D1),
23 /* LOCATION */
24 struct GfxBase *, GfxBase, 156, Graphics)
26 /* FUNCTION
28 INPUTS
29 RealViewPort - ViewPort to coerce
30 MonitorID - Monitor number to coerce to
31 (i.e. a mode masked with MONITOR_ID_MASK)
32 Flags - PRESERVE_COLORS - keep the number of bitplanes
33 in the ViewPort
34 AVOID_FLICKER - do not coerce to an interlace mode
36 RESULT
37 ID - ID of best mode to coerce to, or INVALID_ID if could not coerce
39 NOTES
41 EXAMPLE
43 BUGS
45 SEE ALSO
47 INTERNALS
49 HISTORY
52 ******************************************************************************/
54 AROS_LIBFUNC_INIT
55 AROS_LIBBASE_EXT_DECL(struct GfxBase *,GfxBase)
57 #warning TODO: Write graphics/CoerceMode()
58 aros_print_not_implemented ("CoerceMode");
60 return INVALID_ID;
62 AROS_LIBFUNC_EXIT
63 } /* CoerceMode */