#include <customgui_itemtree_utils.h>
Carries the context and result of an item-tree callback.
The item-tree GUI fills this structure before sending MSG_ITEMTREE_CALLBACK to the tree owner. The meaning of data, typedata, and ret depends on type.
Public Member Functions | |
| ItemTreeCallbackData (_DONTCONSTRUCT v) | |
| ItemTreeCallbackData () | |
Public Attributes | |
| ItemTreeNode * | node |
| ItemTreeData * | item |
| ItemTreeNodeData * | nodedata |
| BaseDocument * | doc |
| Int32 | id |
| Int32 | type |
| BaseContainer * | data |
| Int32 | ret |
| Int32 | flags |
| GeUserArea * | garea |
| iBaseCustomGui * | gui |
| void * | typedata |
| TreeViewCustomGui * | tree |
|
explicit |
Prevents construction of callback data with the internal constructor marker.
| [in] | v | Internal construction marker. |
Initializes empty callback data.
| ItemTreeNode* node |
Node involved in the callback.
| ItemTreeData* item |
Item-tree data associated with the callback.
| ItemTreeNodeData* nodedata |
Payload of node.
| BaseDocument* doc |
Document in which the callback is handled.
| Int32 id |
Callback-specific ID, such as a column or menu ID.
| Int32 type |
ITEMTREE_CALLBACK_* value describing the callback.
| BaseContainer* data |
Callback-specific input data.
| Int32 ret |
Callback result interpreted by the item-tree implementation.
| Int32 flags |
Callback-specific flags.
| GeUserArea* garea |
User area associated with the callback.
| iBaseCustomGui* gui |
Custom GUI receiving or sending the callback.
| void* typedata |
Pointer to callback-specific typed data.
| TreeViewCustomGui* tree |
Tree-view GUI associated with the callback.