New bitmap method SetRGBConversionFunction which can be used to
[tangerine.git] / rom / graphics / mousecoordsrelative.c
blobf6197b7696829d798e82d2ccbf9d54ad11830951
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Private graphics function for seeing if the underlying system provides relative or absolute mouse coords
6 Lang: english
7 */
8 #include "graphics_intern.h"
9 #include <exec/memory.h>
10 #include <graphics/rastport.h>
11 #include <proto/exec.h>
12 #include <proto/oop.h>
13 #include <oop/oop.h>
15 /*****************************************************************************
17 NAME */
18 #include <graphics/rastport.h>
19 #include <proto/graphics.h>
21 AROS_LH0(BOOL , MouseCoordsRelative,
23 /* SYNOPSIS */
25 /* LOCATION */
26 struct GfxBase *, GfxBase, 183, Graphics)
28 /* FUNCTION
29 Tells whether mouse coordinates gotten from the below system are
30 relative or absolut.
32 INPUTS
34 RESULT
35 relative - TRUE if relative, FALSE if absolute.
37 NOTES
38 This function is private and AROS specific.
40 EXAMPLE
42 BUGS
43 There should not be need for such a function.
44 All coords gotten shoul be relative.
45 This is however difficult to do
46 with HIDDs base on window systems and
47 we use one window per screen.
48 SEE ALSO
50 INTERNALS
52 HISTORY
53 29-10-95 digulla automatically created from
54 graphics_lib.fd and clib/graphics_protos.h
56 *****************************************************************************/
58 AROS_LIBFUNC_INIT
59 AROS_LIBBASE_EXT_DECL(struct GfxBase *,GfxBase)
61 IPTR iswindowed;
63 OOP_GetAttr(SDD(GfxBase)->gfxhidd, aHidd_Gfx_IsWindowed, &iswindowed);
65 return iswindowed ? FALSE : TRUE;
67 AROS_LIBFUNC_EXIT
69 } /* LateGfxInit */