Rich element for displaying custom node type. More...
Inherits RichElement.
Public Member Functions | |
| RichElementCustomNode () | |
| Default constructor. More... | |
| virtual | ~RichElementCustomNode () |
| Default destructor. More... | |
| bool | init (int tag, const Color3B &color, uint8_t opacity, Node *customNode) |
| Initialize a RichElementCustomNode with various arguments. More... | |
Public Member Functions inherited from RichElement | |
| RichElement () | |
| Default constructor. More... | |
| virtual | ~RichElement () |
| Default destructor. More... | |
| bool | init (int tag, const Color3B &color, uint8_t opacity) |
| Initialize a rich element with different arguments. More... | |
Public Member Functions inherited from Ref | |
| void | retain () |
| Retains the ownership. More... | |
| void | release () |
| Releases the ownership immediately. More... | |
| Ref * | autorelease () |
| Releases the ownership sometime soon automatically. More... | |
| unsigned int | getReferenceCount () const |
| Returns the Ref's current reference count. More... | |
| virtual | ~Ref () |
| Destructor. More... | |
Static Public Member Functions | |
| static RichElementCustomNode * | create (int tag, const Color3B &color, uint8_t opacity, Node *customNode) |
| Create a RichElementCustomNode with various arguments. More... | |
Additional Inherited Members | |
Public Types inherited from RichElement | |
| enum | Type { TEXT, IMAGE, CUSTOM, NEWLINE } |
| Rich element type. More... | |
Public Attributes inherited from Ref | |
| unsigned int | _ID |
| object id, ScriptSupport need public _ID | |
| int | _luaID |
| Lua reference id. | |
| void * | _scriptObject |
| scriptObject, support for swift | |
| bool | _rooted |
| When true, it means that the object was already rooted. | |
Rich element for displaying custom node type.
|
inline |
Default constructor.
@js ctor @lua new
|
inlinevirtual |
Default destructor.
@js NA @lua NA
Initialize a RichElementCustomNode with various arguments.
| tag | A integer tag value. |
| color | A color in Color3B. |
| opacity | A opacity in GLubyte. |
| customNode | A custom node pointer. |
|
static |
Create a RichElementCustomNode with various arguments.
| tag | A integer tag value. |
| color | A color in Color3B. |
| opacity | A opacity in GLubyte. |
| customNode | A custom node pointer. |