UFO: Alien Invasion
|
#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 | |
![]() | |
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 () |
Definition at line 29 of file ui_node_special.h.
call to initialize a cloned node
Reimplemented from uiNode.
Definition at line 127 of file ui_node_special.cpp.
References uiNode::clone(), and onLoaded().
Cleanup tasks on removing a console function.
node | The 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().
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().
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().
|
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().