grub2: bring back build of aros-side grub2 tools
[AROS.git] / workbench / libs / datatypes / refreshdtobjecta.c
blob4d8285638549d833a6acdcaeb2c27d88811c45d0
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: English
7 */
8 #include <proto/intuition.h>
9 #include <intuition/intuition.h>
10 #include "datatypes_intern.h"
12 /*****************************************************************************
14 NAME */
15 #include <proto/datatypes.h>
17 AROS_LH4(void, RefreshDTObjectA,
19 /* SYNOPSIS */
20 AROS_LHA(Object *, object, A0),
21 AROS_LHA(struct Window *, window, A1),
22 AROS_LHA(struct Requester *, req , A2),
23 AROS_LHA(struct TagItem *, attrs , A3),
25 /* LOCATION */
26 struct Library *, DataTypesBase, 13, DataTypes)
28 /* FUNCTION
30 Refresh a specified object sending the GM_RENDER message to the object.
32 INPUTS
34 object -- pointer to the data type object to refresh; may be NULL
35 window -- pointer to the window; may be NULL
36 req -- must be NULL
37 attrs -- additional attributes (currently none defined)
39 RESULT
41 NOTES
43 EXAMPLE
45 BUGS
47 SEE ALSO
49 AddDTObject(), RemoveDTObject(), intuition.library/RefreshGList()
51 INTERNALS
53 HISTORY
55 *****************************************************************************/
57 AROS_LIBFUNC_INIT
59 if(object == NULL || window == NULL)
60 return;
62 RefreshGList((struct Gadget *)object, window, req, 1);
64 AROS_LIBFUNC_EXIT
65 } /* RefreshDTObjectA */