void onMouseMove(uiNode_t *node, int x, int y) override
void onCapturedMouseMove(uiNode_t *node, int x, int y) override
void doLayout(uiNode_t *node) override
Call to update the node layout. This common code revalidates the node tree.
void validateCache(uiNode_t *node)
bool onScroll(uiNode_t *node, int deltaX, int deltaY) override
void drawText(uiNode_t *node, const char *text, const linkedList_t *list, bool noDraw)
Handles line breaks and drawing for shared data id.
void onRightClick(uiNode_t *node, int x, int y) override
Calls the script command for a text node that is clickable via right mouse button.
int getCellHeight(uiNode_t *node) override
Return size of the cell, which is the size (in virtual "pixel") which represent 1 in the scroll value...
void draw(uiNode_t *node) override
Draw a text node.
void onLoading(uiNode_t *node) override
void onLeftClick(uiNode_t *node, int x, int y) override
Calls the script command for a text node that is clickable.
virtual void updateCache(uiNode_t *node)
void onMouseDown(uiNode_t *node, int x, int y, int button) override
Track mouse down/up events to implement drag&drop-like scrolling, for touchscreen devices.
void onMouseUp(uiNode_t *node, int x, int y, int button) override
void onLoaded(uiNode_t *node) override
node behaviour, how a node work
Atomic structure used to define most of the UI.
void UI_TextScrollEnd(const char *nodePath)
Scroll to the bottom.
void UI_TextNodeSelectLine(uiNode_t *node, int num)
Change the selected line.
const char * UI_TextNodeGetSelectedText(uiNode_t *node, int num)
void UI_RegisterTextNode(uiBehaviour_t *behaviour)