2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
5 Desc: Graphics function CoerceMode()
8 #include <aros/debug.h>
9 #include <graphics/view.h>
11 #include "graphics_intern.h"
13 /*****************************************************************************
16 #include <proto/graphics.h>
18 AROS_LH3(ULONG
, CoerceMode
,
21 AROS_LHA(struct ViewPort
*, RealViewPort
, A0
),
22 AROS_LHA(ULONG
, MonitorID
, D0
),
23 AROS_LHA(ULONG
, Flags
, D1
),
26 struct GfxBase
*, GfxBase
, 156, Graphics
)
29 Determine the best mode in the MonitorID to coerce RealViewPort to.
32 RealViewPort - ViewPort to coerce
33 MonitorID - Monitor number to coerce to
34 (i.e. a mode masked with MONITOR_ID_MASK)
35 Flags - PRESERVE_COLORS - keep the number of bitplanes
37 AVOID_FLICKER - do not coerce to an interlace mode
40 ID - ID of best mode to coerce to, or INVALID_ID if could not coerce
47 This function is unimplemented.
56 ******************************************************************************/
60 /* TODO: Write graphics/CoerceMode() */
61 aros_print_not_implemented ("CoerceMode");