r4493@vps: verhaegs | 2007-04-19 14:44:00 -0400
[AROS.git] / rom / graphics / setpointerpos.c
blobe03d35c90db49f4359ca4fde67f0ded8b6794c57
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Private graphics function for setting mouse pointer position
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 <oop/oop.h>
14 /*****************************************************************************
16 NAME */
17 #include <graphics/rastport.h>
18 #include <proto/graphics.h>
20 AROS_LH2(VOID , SetPointerPos,
22 /* SYNOPSIS */
23 AROS_LHA(UWORD, x, D0),
24 AROS_LHA(UWORD, y, D1),
26 /* LOCATION */
27 struct GfxBase *, GfxBase, 185, Graphics)
29 /* FUNCTION
30 Set the current mouse pointer's position.
32 INPUTS
34 RESULT
36 NOTES
37 This function is private and AROS specific.
39 EXAMPLE
41 BUGS
43 SEE ALSO
45 INTERNALS
47 HISTORY
48 29-10-95 digulla automatically created from
49 graphics_lib.fd and clib/graphics_protos.h
51 *****************************************************************************/
53 AROS_LIBFUNC_INIT
54 AROS_LIBBASE_EXT_DECL(struct GfxBase *,GfxBase)
56 HIDD_Gfx_SetCursorPos(SDD(GfxBase)->gfxhidd, x, y);
58 AROS_LIBFUNC_EXIT
59 } /* SetPointerPos */