Support rastport clipping rectangle for layerless rastports
[tangerine.git] / rom / boopsi / setattrsa.c
blob1317a8578025e4db00c2a55c934134463d997805
1 /*
2 Copyright © 1995-2001, 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 NewObject(), 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 AROS_LIBBASE_EXT_DECL(struct Library *,BOOPSIBase)
62 struct opSet ops;
64 ops.MethodID = OM_SET;
65 ops.ops_AttrList = tagList;
66 ops.ops_GInfo = NULL;
68 return (DoMethodA (object, (Msg)&ops));
69 AROS_LIBFUNC_EXIT
70 } /* SetAttrsA */