UFO: Alien Invasion
Loading...
Searching...
No Matches
ui_node_text.h File Reference
Include dependency graph for ui_node_text.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

class  uiTextNode
struct  textExtraData_t

Functions

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)
 CASSERT (offsetof(textExtraData_t, super)==0)

Function Documentation

◆ CASSERT()

CASSERT ( offsetof(textExtraData_t, super) = =0)
Note
text node inherite scrollable node. Scrollable (super) extradata must not move, else we can't call scrollable functions.

◆ UI_RegisterTextNode()

void UI_RegisterTextNode ( uiBehaviour_t * behaviour)

◆ UI_TextNodeGetSelectedText()

const char * UI_TextNodeGetSelectedText ( uiNode_t * node,
int num )

◆ UI_TextNodeSelectLine()

◆ UI_TextScrollEnd()