Instead of "eax" and "edx" in asm constraints use "a" and "d"
[tangerine.git] / rom / intuition / clearpointer.c
blob91524c6bb5f5b07f652bb60d8881b4055e1a4d64
1 /*
2 Copyright © 1995-2003, 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
49 AROS_LIBBASE_EXT_DECL(struct IntuitionBase *,IntuitionBase)
51 DEBUG_SETPOINTER(dprintf("ClearPointer: window 0x%lx\n",window));
53 if( window )
55 window->Pointer = NULL;
56 SetWindowPointerA(window, NULL);
59 AROS_LIBFUNC_EXIT
60 } /* ClearPointer */