2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
5 Desc: Private graphics function for seeing if the underlying system provides relative or absolute mouse coords
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>
15 /*****************************************************************************
18 #include <graphics/rastport.h>
19 #include <proto/graphics.h>
21 AROS_LH0(BOOL
, MouseCoordsRelative
,
26 struct GfxBase
*, GfxBase
, 183, Graphics
)
29 Tells whether mouse coordinates gotten from the below system are
35 relative - TRUE if relative, FALSE if absolute.
38 This function is private and AROS specific.
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.
53 29-10-95 digulla automatically created from
54 graphics_lib.fd and clib/graphics_protos.h
56 *****************************************************************************/
59 AROS_LIBBASE_EXT_DECL(struct GfxBase
*,GfxBase
)
63 OOP_GetAttr(SDD(GfxBase
)->gfxhidd
, aHidd_Gfx_IsWindowed
, &iswindowed
);
65 return iswindowed
? FALSE
: TRUE
;