CreatorTree Class Reference#include <creator.h>
Inheritance diagram for CreatorTree:
[legend]
|
Public Member Functions |
| | CreatorTree () |
| | ~CreatorTree () |
| void | buildNode (Node *node, U32 tab) |
| void | build () |
| bool | addNode (Node *parent, Node *node) |
| Node * | createNode (const char *name, const char *value, bool group=false, Node *parent=0) |
| Node * | findNode (S32 id) |
| S32 | getSelected () |
| void | expandNode (Node *node, bool expand) |
| void | selectNode (Node *node, bool select) |
| void | sort () |
| void | clear () |
| void | onMouseDown (const GuiEvent &event) |
| void | onMouseDragged (const GuiEvent &event) |
| void | onMouseUp (const GuiEvent &event) |
| bool | onWake () |
| | Called when this object is asked to wake up returns true if it's actually awake at the end.
|
| void | onRenderCell (Point2I offset, Point2I cell, bool, bool) |
| | DECLARE_CONOBJECT (CreatorTree) |
Data Fields |
| S32 | mCurId |
| Node * | mRoot |
| Vector< Node * > | mNodeList |
| S32 | mTabSize |
| S32 | mMaxWidth |
| S32 | mTxtOffset |
Private Types |
| typedef GuiArrayCtrl | Parent |
Data Structures |
| class | Node |
Member Typedef Documentation
Constructor & Destructor Documentation
| CreatorTree::CreatorTree |
( |
|
) |
|
| CreatorTree::~CreatorTree |
( |
|
) |
|
Member Function Documentation
| void CreatorTree::build |
( |
|
) |
|
| bool CreatorTree::addNode |
( |
Node * |
parent, |
|
|
Node * |
node | |
|
) |
| | |
| Node* CreatorTree::createNode |
( |
const char * |
name, |
|
|
const char * |
value, |
|
|
bool |
group = false, |
|
|
Node * |
parent = 0 | |
|
) |
| | |
| Node* CreatorTree::findNode |
( |
S32 |
id |
) |
|
| S32 CreatorTree::getSelected |
( |
|
) |
[inline] |
| void CreatorTree::expandNode |
( |
Node * |
node, |
|
|
bool |
expand | |
|
) |
| | |
| void CreatorTree::selectNode |
( |
Node * |
node, |
|
|
bool |
select | |
|
) |
| | |
| void CreatorTree::sort |
( |
|
) |
|
| void CreatorTree::clear |
( |
|
) |
|
| void CreatorTree::onMouseDown |
( |
const GuiEvent & |
event |
) |
[virtual] |
| void CreatorTree::onMouseDragged |
( |
const GuiEvent & |
event |
) |
[virtual] |
| void CreatorTree::onMouseUp |
( |
const GuiEvent & |
event |
) |
[virtual] |
| bool CreatorTree::onWake |
( |
|
) |
[virtual] |
Called when this object is asked to wake up returns true if it's actually awake at the end.
Reimplemented from GuiArrayCtrl.
Field Documentation
|