Check for SYS/GL during library init. Reason is that
[AROS.git] / rom / intuition / refreshgadgets.c
blobe7c3c012d2e9f3d420e632a072b063a1056bad85
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$
5 */
7 #include <proto/layers.h>
8 #include "intuition_intern.h"
10 /*****************************************************************************
12 NAME */
13 #include <proto/intuition.h>
15 AROS_LH3(void, RefreshGadgets,
17 /* SYNOPSIS */
18 AROS_LHA(struct Gadget *, gadgets, A0),
19 AROS_LHA(struct Window *, window, A1),
20 AROS_LHA(struct Requester *, requester, A2),
22 /* LOCATION */
23 struct IntuitionBase *, IntuitionBase, 37, Intuition)
25 /* FUNCTION
26 Refreshes all gadgets starting at the specified gadget.
28 INPUTS
29 gadgets - The first gadget to be refreshed
30 window - The gadget must be in this window
31 requester - If any gadget has GTYP_REQGADGET set, this must
32 point to a valid Requester. Otherwise the value is ignored.
34 RESULT
35 None.
37 NOTES
39 EXAMPLE
40 // Refresh all gadgets of a window
41 RefreshGadgets (win->FirstGadget, win, NULL);
43 BUGS
45 SEE ALSO
46 RefreshGList()
48 INTERNALS
50 *****************************************************************************/
52 AROS_LIBFUNC_INIT
54 RefreshGList (gadgets, window, requester, ~0);
56 AROS_LIBFUNC_EXIT
57 } /* RefreshGadgets */