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

#include <ui_node_special.h>

Inherits uiNode.

Private Member Functions

void onWindowOpened (uiNode_t *node, linkedList_t *params)
 
void onWindowClosed (uiNode_t *node)
 Callback every time the parent window is closed (pop from the active window stack) More...
 
void clone (uiNode_t const *source, uiNode_t *clone)
 
void deleteNode (uiNode_t *node)
 

Additional Inherited Members

- Public Member Functions inherited from uiNode
virtual void onLoading (uiNode_t *node)
 
virtual void onLoaded (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 41 of file ui_node_special.h.

Member Function Documentation

void uiCvarNode::clone ( uiNode_t const *  source,
uiNode_t clone 
)
privatevirtual

call to initialize a cloned node

Reimplemented from uiNode.

Definition at line 246 of file ui_node_special.cpp.

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

void uiCvarNode::deleteNode ( uiNode_t node)
privatevirtual

call to delete a dynamic node

Reimplemented from uiNode.

Definition at line 240 of file ui_node_special.cpp.

References uiNode::deleteNode(), and onWindowClosed().

void uiCvarNode::onWindowClosed ( uiNode_t node)
privatevirtual

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

Reimplemented from uiNode.

Definition at line 214 of file ui_node_special.cpp.

References cvar_s::changeListener, Cvar_FindVar(), Cvar_UnRegisterChangeListener(), cvarChangeListener_s::data, cvarChangeListener_s::exec, LIST_IsEmpty(), LIST_Remove(), uiNode_t::name, cvarChangeListener_s::next, and UI_CvarListenerNodeCallback().

Referenced by deleteNode().

void uiCvarNode::onWindowOpened ( uiNode_t node,
linkedList_t params 
)
privatevirtual

Invoked when the window is added to the rendering stack

Reimplemented from uiNode.

Definition at line 235 of file ui_node_special.cpp.

References UI_CvarListenerNodeBind().


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