Only display the status if there is something to display
[AROS.git] / rom / graphics / setpointerpos.c
blob0b5bd5045289c4490ecbdd6c02e24a87af6233b7
1 /*
2 Copyright © 1995-2007, 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 /*****i***********************************************************************
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
55 if (SDD(GfxBase)->gfxhidd)
56 HIDD_Gfx_SetCursorPos(SDD(GfxBase)->gfxhidd, x, y);
58 AROS_LIBFUNC_EXIT
59 } /* SetPointerPos */