struct baseInventoryExtraData_s baseInventoryExtraData_t
void draw(uiNode_t *node) override
Main function to draw a container node.
int LUA_EVENT
holds a reference to a lua event handler
void onCapturedMouseMove(uiNode_t *node, int x, int y) override
void onMouseDown(uiNode_t *node, int x, int y, int button) override
void initNode(uiNode_t *node) override
void onLoading(uiNode_t *node) override
void onWindowOpened(uiNode_t *node, linkedList_t *params) override
Call when we open the window containing the node.
void onMouseUp(uiNode_t *node, int x, int y, int button) override
void onDndLeave(uiNode_t *node) override
Call when a DND enter into the node.
bool onScroll(uiNode_t *node, int deltaX, int deltaY) override
Atomic structure used to define most of the UI.
bool onDndEnter(uiNode_t *node) override
Call when a DND enter into the node.
void onLoaded(uiNode_t *node) override
Calculates the size of a container node and links the container into the node (uses the invDef_t shap...
node behaviour, how a node work
bool onDndMove(uiNode_t *node, int x, int y) override
Call into the target when the DND hover it.
void UI_RegisterBaseInventoryNode(uiBehaviour_t *behaviour)
Atomic element to store UI scripts The parser use this atom to translate script action into many tree...
void drawTooltip(const uiNode_t *node, int x, int y) const override
Custom tooltip for container node.
CASSERT(offsetof(baseInventoryExtraData_t, super)==0)