Autodoc corrections
[cake.git] / rom / graphics / mousecoordsrelative.c
blob086b8db127e0aab759dac2538fedc1314b1c6668
1 /*
2 Copyright © 1995-2007, 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 /*****i***********************************************************************
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 absolute.
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 coordinates gotten should 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
60 IPTR iswindowed;
62 OOP_GetAttr(SDD(GfxBase)->gfxhidd, aHidd_Gfx_IsWindowed, &iswindowed);
64 return iswindowed ? FALSE : TRUE;
66 AROS_LIBFUNC_EXIT
68 } /* LateGfxInit */