Enable VFP unit as early as possible. This has to be so since e.g. gcc9 uses vfp...
[AROS.git] / rom / intuition / removegadget.c
blob26c4b06e451b080d238b3ef1e01734a73b4116b5
1 /*
2 Copyright © 1995-2013, The AROS Development Team. All rights reserved.
3 Copyright © 2001-2003, The MorphOS Development Team. All Rights Reserved.
4 $Id$
6 Remove a single gadget from a window.
7 */
9 #include "intuition_intern.h"
11 /*****************************************************************************
13 NAME */
14 #include <intuition/intuition.h>
15 #include <proto/intuition.h>
17 AROS_LH2(UWORD, RemoveGadget,
19 /* SYNOPSIS */
20 AROS_LHA(struct Window *, window, A0),
21 AROS_LHA(struct Gadget *, gadget, A1),
23 /* LOCATION */
24 struct IntuitionBase *, IntuitionBase, 38, Intuition)
26 /* FUNCTION
27 Remove a gadget from the list of gadgets in a window.
29 INPUTS
30 window - Remove the gadget from this list.
31 gadget - Remove this gadget.
33 RESULT
34 The position of the gadget or 0xFFFF if the gadget doesn't
35 exist or the gadget is the 65535th of the list.
37 NOTES
39 EXAMPLE
41 BUGS
43 SEE ALSO
45 INTERNALS
47 *****************************************************************************/
49 AROS_LIBFUNC_INIT
51 return RemoveGList (window, gadget, 1);
53 AROS_LIBFUNC_EXIT
54 } /* RemoveGadget */