Updated Sourceforge username and host.
[tangerine.git] / rom / boopsi / setattrsa.c
blob855f004f2cac87bc089646e06eb04b3351980ec9
1 /*
2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: english
7 */
8 #include <proto/alib.h>
9 #include <clib/intuition_protos.h>
10 #include "intern.h"
12 /*****************************************************************************
14 NAME */
15 #include <intuition/classusr.h>
16 #include <proto/boopsi.h>
18 AROS_LH2(ULONG, SetAttrsA,
20 /* SYNOPSIS */
21 AROS_LHA(APTR , object, A0),
22 AROS_LHA(struct TagItem *, tagList, A1),
24 /* LOCATION */
25 struct Library *, BOOPSIBase, 14, BOOPSI)
27 /* FUNCTION
28 Changes several attributes of an object at the same time. How the
29 object interprets the new attributes depends on the class.
31 INPUTS
32 object - Change the attributes of this object
33 tagList - This is a list of attribute/value-pairs
35 RESULT
36 Depends in the class. For gadgets, this value is non-zero if
37 they need redrawing after the values have changed. Other classes
38 will define other return values.
40 NOTES
41 This function sends OM_SET to the object.
43 EXAMPLE
45 BUGS
47 SEE ALSO
48 NewObjectA(), DisposeObject(), GetAttr(), MakeClass(),
49 "Basic Object-Oriented Programming System for Intuition" and
50 "boopsi Class Reference" Dokument.
52 INTERNALS
54 HISTORY
55 29-10-95 digulla automatically created from
56 intuition_lib.fd and clib/intuition_protos.h
58 *****************************************************************************/
60 AROS_LIBFUNC_INIT
61 struct opSet ops;
63 ops.MethodID = OM_SET;
64 ops.ops_AttrList = tagList;
65 ops.ops_GInfo = NULL;
67 return (DoMethodA (object, (Msg)&ops));
68 AROS_LIBFUNC_EXIT
69 } /* SetAttrsA */