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
)
27 Determine the best mode in the MonitorID to coerce RealViewPort to.
30 RealViewPort - ViewPort to coerce
31 MonitorID - Monitor number to coerce to
32 (i.e. a mode masked with MONITOR_ID_MASK)
33 Flags - PRESERVE_COLORS - keep the number of bitplanes
35 AVOID_FLICKER - do not coerce to an interlace mode
38 ID - ID of best mode to coerce to, or INVALID_ID if could not coerce
53 ******************************************************************************/
56 AROS_LIBBASE_EXT_DECL(struct GfxBase
*,GfxBase
)
58 #warning TODO: Write graphics/CoerceMode()
59 aros_print_not_implemented ("CoerceMode");