r3lislay
real/layer/r3lislay.h
r3layer
List Layer class. Layer ofr objects which has no hierarchical structure.
r3Objectlayer
R3CLID_OBJECTLAYER
r3Listlayer
R3CLID_LISTLAYER - 76
OOENUM, ENUM, GETBYORDNUM, PERFORMONLIST, ANIMRECORD, DELETEDUPLICATES,
R3LLAYM_OOENUM
OOENUM
R3LLAYM_OOENUM
R3TAG*, R3RA_TargetMth + any number of other tags, which will be passed * to the target objects in the tag list.
obj.OOENUM(p3);
Send given method to all target objects.
R3LLAYM_ENUM
ENUM
R3LLAYM_ENUM
int, return value from the callback.
R3TAG*, R3RA_Hook, R3RA_HookData
rc = obj.ENUM(p3);
Enumerate objects to the callback function. The function must be * of form: int mycallback(R3OBJ *o, void *mydata); If the callback * returns 1, enumeration continues. Use return value 0 or -1 to cancel * enumeration.
R3LLAYM_GETBYORDNUM
GETBYORDNUM
R3LLAYM_GETBYORDNUM
R3OBJ*, object
R3INT, ordnum
rc = obj.GETBYORDNUM(p3);
Fetch the object with given ordnum.
R3LLAYM_PERFORMONLIST
PERFORMONLIST
R3LLAYM_PERFORMONLIST
R3BOOL, disable R3MM_CHANGED
R3TAG*, R3OLAYA_PMethod, R3OLAYA_PMsg, R3OLAYA_PMsg2, R3OLAYA_PMsg3
obj.PERFORMONLIST(p1, p3);
Apply given method to all objects in the layer.
R3LLAYM_ANIMRECORD
ANIMRECORD
R3LLAYM_ANIMRECORD
R3BOOL, true/false
obj.ANIMRECORD(p3);
Set animation recording on/off.
R3LLAYM_DELETEDUPLICATES
DELETEDUPLICATES
R3LLAYM_DELETEDUPLICATES
obj.DELETEDUPLICATES();
InitObject
InitObject
R3LLAYA_InitObject
Object
R3OBJ*
object to be called with the newly created object
jsobj.SetInitObject(value);
R3OBJ* value = ...;
R3SetAttrs(r3obj, R3LLAYA_InitObject, value, R3TAG_END);
InitMethod
InitMethod
R3LLAYA_InitMethod
Integer
R3INT
method for the initobject
jsobj.SetInitMethod(value);
R3INT value = ...;
R3SetAttrs(r3obj, R3LLAYA_InitMethod, value, R3TAG_END);
ObjectList
ObjectList
R3LLAYA_ObjectList
r3List
R3LIST*
list of sub objects
value = jsobj.GetObjectList();
R3LIST* value;
R3GetAttrs(r3obj, R3LLAYA_ObjectList, &value, R3TAG_END);