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

#include <ui_node_special.h>

Inheritance diagram for uiFuncNode:
Inheritance graph
Collaboration diagram for uiFuncNode:
Collaboration graph

Private Member Functions

void onLoaded (uiNode_t *node)
 Call after the script initialized the node.

Additional Inherited Members

Public Member Functions inherited from uiNode
virtual void onLoading (uiNode_t *node)
virtual void clone (uiNode_t const *source, uiNode_t *clone)
virtual void initNode (uiNode_t *node)
virtual void initNodeDynamic (uiNode_t *node)
virtual void deleteNode (uiNode_t *node)
virtual void onWindowOpened (uiNode_t *node, linkedList_t *params)
virtual void onWindowClosed (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 37 of file ui_node_special.h.

Member Function Documentation

◆ onLoaded()

void uiFuncNode::onLoaded ( uiNode_t * node)
privatevirtual

Call after the script initialized the node.

Todo
special cases should be managed as a common property event of the parent node
Todo
move this code into the parser (cause property should not create a func node)

Reimplemented from uiNode.

Definition at line 41 of file ui_node_special.cpp.

References uiNode_t::behaviour, Com_GetValue(), Com_Printf(), uiNode_t::name, uiNode_t::onClick, uiNode_t::parent, value_t::string, uiNode_t::super, value_t::type, UI_GetPath(), UI_GetPropertyFromBehaviour(), and V_UI_ACTION.


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