Updated Sourceforge username and host.
[tangerine.git] / rom / intuition / clearpointer.c
blob3a633cd480649f2bb18c4e49b31fbe07d15c1f68
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 Copyright © 2001-2003, The MorphOS Development Team. All Rights Reserved.
4 $Id$
5 */
7 #include "intuition_intern.h"
9 /*****************************************************************************
11 NAME */
12 #include <proto/intuition.h>
14 AROS_LH1(void, ClearPointer,
16 /* SYNOPSIS */
17 AROS_LHA(struct Window *, window, A0),
19 /* LOCATION */
20 struct IntuitionBase *, IntuitionBase, 10, Intuition)
22 /* FUNCTION
23 Reset the mousepointer of this window to the default one.
24 If the window is active during this call the pointer will
25 immediately change its shape.
26 Set custom mousepointers with SetPointer().
28 INPUTS
29 window - The window of which the mousepointer will be cleared
31 RESULT
33 NOTES
35 EXAMPLE
37 BUGS
39 SEE ALSO
40 SetPointer()
42 INTERNALS
44 HISTORY
46 *****************************************************************************/
48 AROS_LIBFUNC_INIT
50 DEBUG_SETPOINTER(dprintf("ClearPointer: window 0x%lx\n",window));
52 if( window )
54 window->Pointer = NULL;
55 SetWindowPointerA(window, NULL);
58 AROS_LIBFUNC_EXIT
59 } /* ClearPointer */