define __KERNEL_STRICT_NAMES to avoid inclusion of kernel types on systems that carry...
[cake.git] / rom / intuition / refreshgadgets.c
blobcc9bdec4f5c6f7524fbfe1d2563b588428d84f8c
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 <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
33 ignored.
35 RESULT
36 None.
38 NOTES
40 EXAMPLE
41 // Refresh all gadgets of a window
42 RefreshGadgets (win->FirstGadget, win, NULL);
44 BUGS
46 SEE ALSO
47 RefreshGList()
49 INTERNALS
51 HISTORY
52 29-10-95 digulla automatically created from
53 intuition_lib.fd and clib/intuition_protos.h
55 *****************************************************************************/
57 AROS_LIBFUNC_INIT
59 RefreshGList (gadgets, window, requester, ~0);
61 AROS_LIBFUNC_EXIT
62 } /* RefreshGadgets */