2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
5 Desc: Graphics function CoerceMode()
8 #include <aros/debug.h>
9 #include <graphics/view.h>
11 /*****************************************************************************
14 #include <proto/graphics.h>
16 AROS_LH3(ULONG
, CoerceMode
,
19 AROS_LHA(struct ViewPort
*, RealViewPort
, A0
),
20 AROS_LHA(ULONG
, MonitorID
, D0
),
21 AROS_LHA(ULONG
, Flags
, D1
),
24 struct GfxBase
*, GfxBase
, 156, Graphics
)
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
34 AVOID_FLICKER - do not coerce to an interlace mode
37 ID - ID of best mode to coerce to, or INVALID_ID if could not coerce
52 ******************************************************************************/
55 AROS_LIBBASE_EXT_DECL(struct GfxBase
*,GfxBase
)
57 #warning TODO: Write graphics/CoerceMode()
58 aros_print_not_implemented ("CoerceMode");