UFO: Alien Invasion
Loading...
Searching...
No Matches
uiCvarNode Class Reference

#include <ui_node_special.h>

Inheritance diagram for uiCvarNode:
Inheritance graph
Collaboration diagram for uiCvarNode:
Collaboration graph

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).
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).
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

◆ clone()

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 clone(), uiNode::clone(), and UI_CvarListenerNodeBind().

Referenced by clone().

◆ deleteNode()

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().

◆ 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_t::changeListener, Cvar_FindVar(), Cvar_UnRegisterChangeListener(), cvarChangeListener_t::data, cvarChangeListener_t::exec, LIST_IsEmpty(), LIST_Remove(), uiNode_t::name, cvarChangeListener_t::next, and UI_CvarListenerNodeCallback().

Referenced by deleteNode().

◆ onWindowOpened()

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: