UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
uiConFuncNode Class Reference

#include <ui_node_special.h>

Inherits uiNode.

Private Member Functions

void onLoaded (uiNode_t *node) override
 Call after the script initialized the node. More...
 
void onWindowOpened (uiNode_t *node, linkedList_t *params) override
 Callback every time the parent window is opened (pushed into the active window stack) More...
 
void onWindowClosed (uiNode_t *node) override
 Callback every time the parent window is closed (pop from the active window stack) More...
 
void clone (uiNode_t const *source, uiNode_t *clone) override
 
void deleteNode (uiNode_t *node) override
 Cleanup tasks on removing a console function. More...
 

Additional Inherited Members

- Public Member Functions inherited from uiNode
virtual void onLoading (uiNode_t *node)
 
virtual void initNode (uiNode_t *node)
 
virtual void initNodeDynamic (uiNode_t *node)
 
virtual void onWindowActivate (uiNode_t *node)
 
virtual void onActivate (uiNode_t *node)
 Activate the node. Can be used without the mouse (ie. a button will execute onClick) More...
 
virtual void onPropertyChanged (uiNode_t *node, const value_t *property)
 
virtual ~uiNode ()
 

Detailed Description

Definition at line 29 of file ui_node_special.h.

Member Function Documentation

void uiConFuncNode::clone ( uiNode_t const *  source,
uiNode_t clone 
)
overrideprivatevirtual

call to initialize a cloned node

Reimplemented from uiNode.

Definition at line 127 of file ui_node_special.cpp.

References uiNode::clone(), and onLoaded().

void uiConFuncNode::deleteNode ( uiNode_t node)
overrideprivatevirtual

Cleanup tasks on removing a console function.

Parameters
nodeThe node to delete.

Reimplemented from uiNode.

Definition at line 137 of file ui_node_special.cpp.

References Cmd_Exists(), Cmd_GetUserdata(), Cmd_RemoveCommand(), uiNode::deleteNode(), uiNode_t::name, and onWindowClosed().

void uiConFuncNode::onLoaded ( uiNode_t node)
overrideprivatevirtual

Call after the script initialized the node.

Reimplemented from uiNode.

Definition at line 103 of file ui_node_special.cpp.

References Cmd_AddCommand(), Cmd_AddUserdata(), Cmd_Exists(), Com_Printf(), uiNode_t::name, uiNode_t::super, UI_AllocNode(), UI_ConfuncCommand_f(), UI_ConFuncIsVirtual(), and UI_GetPath().

Referenced by clone().

void uiConFuncNode::onWindowClosed ( uiNode_t node)
overrideprivatevirtual

Callback every time the parent window is closed (pop from the active window stack)

Reimplemented from uiNode.

Definition at line 163 of file ui_node_special.cpp.

References uiNode_t::behaviour, Cmd_GetUserdata(), uiNode_t::name, UI_ConFuncIsVirtual(), UI_GetPropertyFromBehaviour(), and UI_RemoveListener().

Referenced by deleteNode().

void uiConFuncNode::onWindowOpened ( uiNode_t node,
linkedList_t params 
)
overrideprivatevirtual

Callback every time the parent window is opened (pushed into the active window stack)

Reimplemented from uiNode.

Definition at line 151 of file ui_node_special.cpp.

References uiNode_t::behaviour, Cmd_GetUserdata(), uiNode_t::name, UI_AddListener(), UI_ConFuncIsVirtual(), and UI_GetPropertyFromBehaviour().


The documentation for this class was generated from the following files: