2 Copyright © 1995-2011, The AROS Development Team. All rights reserved.
5 Set attributes in a specific class
8 #define ALIB_NO_INLINE_STDARG
10 #define AROS_TAGRETURNTYPE IPTR
12 #include <intuition/classes.h>
13 #include <intuition/intuitionbase.h>
15 #include "alib_intern.h"
17 /*****************************************************************************
20 #include <intuition/classusr.h>
21 #include <proto/alib.h>
32 Changes several attributes of an object at the same time. How the
33 object interprets the new attributes depends on the class.
36 class - Assume that the object is of this class.
37 object - Change the attributes of this object
38 tag1 - The first of a list of attribute/value-pairs. The last
39 attribute in this list must be TAG_END or TAG_DONE.
40 The value for this last attribute is not examined (ie.
41 you need not specify it).
44 Depends in the class. For gadgets, this value is non-zero if
45 they need redrawing after the values have changed. Other classes
46 will define other return values.
49 This function sends OM_SET to the object.
56 boopsi.library/NewObjectA(), boopsi.library/DisposeObject(),
57 boopsi.library/GetAttr(), boopsi.library/MakeClass(),
58 "Basic Object-Oriented Programming System for Intuition" and
59 "boopsi Class Reference" Dokument.
64 29-10-95 digulla automatically created from
65 intuition_lib.fd and clib/intuition_protos.h
67 *****************************************************************************/
69 struct opSet ops
, *msg
= &ops
;
70 AROS_SLOWSTACKTAGS_PRE(tag1
)
72 ops
.MethodID
= OM_SET
;
73 ops
.ops_AttrList
= AROS_SLOWSTACKTAGS_ARG(tag1
);
76 retval
= DoSuperMethodA(class, object
, (Msg
)msg
);
77 AROS_SLOWSTACKTAGS_POST