ui_node_text.h File Reference

#include "ui_node_abstractscrollable.h"
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

struct  textExtraData_t

Functions

void UI_TextScrollEnd (const char *nodePath)
 Scroll to the bottom.
void UI_TextNodeSelectLine (struct uiNode_s *node, int num)
 Change the selected line.
void UI_RegisterTextNode (struct uiBehaviour_s *behaviour)
 CASSERT (offsetof(textExtraData_t, super)==0)

Detailed Description

Definition in file ui_node_text.h.


Function Documentation

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.
void UI_RegisterTextNode ( struct uiBehaviour_s behaviour  ) 
void UI_TextNodeSelectLine ( struct uiNode_s node,
int  num 
)
void UI_TextScrollEnd ( const char *  nodePath  ) 

Scroll to the bottom.

Parameters:
[in] nodePath absolute path

Definition at line 72 of file ui_node_text.c.

References Cmd_Argv(), Com_DPrintf(), Com_Printf(), DEBUG_CLIENT, EXTRADATA, UI_ExecuteEventActions(), UI_GetNodeByPath(), UI_NodeInstanceOf(), and UI_TextValidateCache().

Referenced by Irc_AppendToBuffer().


Generated by  doxygen 1.6.2