#include <customgui_itemtree_utils.h>
Stores temporary state for an item-tree popup editor.
The item-tree implementation fills this structure before opening a popup and uses the stored GUI, screen position, dimensions, column, and node GUID to associate the popup with its corresponding item-tree node.
Public Member Functions | |
| ItemTreePopupData () | |
| ~ItemTreePopupData () | |
Static Public Member Functions | |
| static ItemTreePopupData * | Alloc () |
| static void | Free (ItemTreePopupData *&p) |
Public Attributes | |
| iBaseCustomGui * | dlg |
| Int32 | col |
| Int32 | xpos |
| Int32 | ypos |
| Int32 | height |
| UInt64 | guid |
Initializes empty popup-edit data.
| ~ItemTreePopupData | ( | ) |
Releases popup-edit data without owning the referenced GUI.
|
static |
Allocates popup data with the MAXON object allocator.
|
static |
Deletes popup data allocated with Alloc() and clears the pointer.
| iBaseCustomGui* dlg |
GUI that owns the item tree associated with the popup.
| Int32 col |
Column containing the node associated with the popup.
| Int32 xpos |
| Int32 ypos |
| Int32 height |
Screen position and height of the popup editor.
| UInt64 guid |
GUID of the node associated with the popup.