virtual void updateCache(uiNode_t *node)
void doLayout(uiNode_t *node) override
Call to update the node layout. This common code revalidates the node tree.
void UI_RegisterTextNode(uiBehaviour_t *behaviour)
void onMouseMove(uiNode_t *node, int x, int y) override
void onMouseUp(uiNode_t *node, int x, int y, int button) override
void onLoading(uiNode_t *node) override
void UI_TextScrollEnd(const char *nodePath)
Scroll to the bottom.
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.
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 UI_TextNodeSelectLine(uiNode_t *node, int num)
Change the selected line.
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 onLeftClick(uiNode_t *node, int x, int y) override
Calls the script command for a text node that is clickable.
void onCapturedMouseMove(uiNode_t *node, int x, int y) override
void validateCache(uiNode_t *node)
void drawText(uiNode_t *node, const char *text, const linkedList_t *list, bool noDraw)
Handles line breaks and drawing for shared data id.
CASSERT(offsetof(textExtraData_t, super)==0)
Atomic structure used to define most of the UI.
node behaviour, how a node work
const char * UI_TextNodeGetSelectedText(uiNode_t *node, int num)
void draw(uiNode_t *node) override
Draw a text node.
bool onScroll(uiNode_t *node, int deltaX, int deltaY) override
void onLoaded(uiNode_t *node) override
Atomic element to store UI scripts The parser use this atom to translate script action into many tree...