|
UFO: Alien Invasion
|
#include "ui_node_abstractscrollable.h"

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) | |
| CASSERT | ( | offsetof(textExtraData_t, super) | = =0 | ) |
| void UI_RegisterTextNode | ( | uiBehaviour_t * | behaviour | ) |
Highlight each node elements when the mouse move over the node.
Definition at line 585 of file ui_node_text.cpp.
References Com_RegisterConstInt(), uiBehaviour_t::extends, EXTRADATA_TYPE, uiBehaviour_t::extraDataSize, LONGLINES_CHOP, LONGLINES_PRETTYCHOP, LONGLINES_WRAP, uiBehaviour_t::lua_SWIG_typeinfo, uiBehaviour_t::manager, uiBehaviour_t::name, UI_RegisterExtradataNodeProperty, UI_SWIG_TypeQuery(), V_BOOL, V_CVAR_OR_STRING, V_INT, and V_UI_DATAID.
Definition at line 64 of file ui_node_text.cpp.
References EXTRADATA, and UI_GetTextFromList().
Referenced by uiTextListNode::onLeftClick(), uiTextListNode::onRightClick(), and UI_TextNodeSelectLine().
Change the selected line.
Definition at line 75 of file ui_node_text.cpp.
References EXTRADATA, uiNode_t::lua_onChange, uiNode_t::onChange, UI_ExecuteEventActions(), UI_ExecuteLuaEventScript(), and UI_TextNodeGetSelectedText().
Referenced by GAME_GetImportData(), HUD_PopupFiremodeReservation(), HUD_ShotReserve_f(), uiText2Node::onLeftClick(), uiTextNode::onLeftClick(), uiText2Node::onRightClick(), uiTextNode::onRightClick(), and uiTextNode_t_set_lineselected().
| void UI_TextScrollEnd | ( | const char * | nodePath | ) |
Scroll to the bottom.
| [in] | nodePath | absolute path |
Definition at line 93 of file ui_node_text.cpp.
References uiNode_t::behaviour, Cmd_Argv(), Com_DPrintf(), Com_Printf(), DEBUG_CLIENT, EXTRADATA, SharedPtr< T >::get(), uiBehaviour_t::manager, UI_ExecuteEventActions(), UI_ExecuteLuaEventScript(), UI_GetNodeByPath(), UI_NodeInstanceOf(), and uiTextNode::validateCache().
Referenced by GAME_GetImportData(), Irc_AppendToBuffer(), and cgame_import_t::void().