UFO: Alien Invasion
|
#include <ui_node_abstractnode.h>
Inherited by uiConFuncNode, uiCvarNode, uiDataNode, uiFuncNode, and uiLocatedNode.
Public Member Functions | |
virtual void | onLoading (uiNode_t *node) |
virtual void | onLoaded (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) More... | |
virtual void | onPropertyChanged (uiNode_t *node, const value_t *property) |
virtual | ~uiNode () |
Definition at line 33 of file ui_node_abstractnode.h.
|
inlinevirtual |
Definition at line 63 of file ui_node_abstractnode.h.
call to initialize a cloned node
Reimplemented in uiWindowNode, uiCvarNode, uiModelNode, uiAbstractValueNode, and uiConFuncNode.
Definition at line 140 of file ui_node_abstractnode.cpp.
Referenced by uiAbstractValueNode::clone(), uiConFuncNode::clone(), uiModelNode::clone(), uiCvarNode::clone(), uiWindowNode::clone(), and UI_Node_Clone().
call to delete a dynamic node
Reimplemented in uiCvarNode, uiModelNode, uiWindowNode, uiAbstractValueNode, uiConFuncNode, and uiLineChartNode.
Definition at line 143 of file ui_node_abstractnode.cpp.
References HASH_DeleteTable(), and uiNode_t::nodeMethods.
Referenced by uiConFuncNode::deleteNode(), uiAbstractValueNode::deleteNode(), uiWindowNode::deleteNode(), uiModelNode::deleteNode(), uiCvarNode::deleteNode(), and UI_Node_DeleteNode().
call to initialize the node structure and extradata structure
Reimplemented in uiContainerNode, uiAbstractScrollableNode, uiWindowNode, uiAbstractOptionNode, uiAbstractValueNode, uiBaseInventoryNode, uiSequenceNode, and uiVideoNode.
Definition at line 111 of file ui_node_abstractnode.cpp.
References uiNode_t::lua_onActivate, uiNode_t::lua_onChange, uiNode_t::lua_onClick, uiNode_t::lua_onDragDropDrop, uiNode_t::lua_onDragDropEnter, uiNode_t::lua_onDragDropFinished, uiNode_t::lua_onDragDropLeave, uiNode_t::lua_onDragDropMove, uiNode_t::lua_onFocusGained, uiNode_t::lua_onFocusLost, uiNode_t::lua_onKeyPressed, uiNode_t::lua_onKeyReleased, uiNode_t::lua_onLoaded, uiNode_t::lua_onMiddleClick, uiNode_t::lua_onMouseEnter, uiNode_t::lua_onMouseLeave, uiNode_t::lua_onRightClick, uiNode_t::lua_onVisibleWhen, uiNode_t::lua_onWheel, uiNode_t::lua_onWheelDown, and uiNode_t::lua_onWheelUp.
Referenced by uiSequenceNode::initNode(), uiVideoNode::initNode(), uiAbstractValueNode::initNode(), uiAbstractOptionNode::initNode(), uiAbstractScrollableNode::initNode(), uiWindowNode::initNode(), uiContainerNode::initNode(), and UI_Node_InitNode().
call to initialize a dynamic node
Reimplemented in uiModelNode, and uiAbstractValueNode.
Definition at line 137 of file ui_node_abstractnode.cpp.
Referenced by uiAbstractValueNode::initNodeDynamic(), and UI_Node_InitNodeDynamic().
Activate the node. Can be used without the mouse (ie. a button will execute onClick)
Activate the node. Can be used without the mouse (ie. a button will execute onClick)
Reimplemented in uiCheckBoxNode, and uiRadioButtonNode.
Definition at line 435 of file ui_node_abstractnode.cpp.
References uiNode_t::lua_onActivate, uiNode_t::onClick, UI_ExecuteEventActions(), and UI_ExecuteLuaEventScript().
Referenced by UI_Node_Activate().
only called one time, when node parsing was finished
Reimplemented in uiContainerNode, uiBaseInventoryNode, uiWindowNode, uiTextNode, uiOptionListNode, uiFuncNode, uiOptionTreeNode, uiModelNode, uiText2Node, uiSelectBoxNode, uiImageNode, uiButtonNode, uiAbstractValueNode, uiPanelNode, uiRowsNode, uiConFuncNode, and uiVScrollbarNode.
Definition at line 424 of file ui_node_abstractnode.cpp.
References uiNode_t::lua_onLoaded, and UI_ExecuteLuaEventScript().
Referenced by uiAbstractValueNode::onLoaded(), and UI_Node_Loaded().
Called before script initialization, initialized default values
Reimplemented in uiSpinnerNode, uiContainerNode, uiGeoscapeNode, uiBaseInventoryNode, uiWindowNode, uiTextNode, uiOptionListNode, uiOptionTreeNode, uiModelNode, uiText2Node, uiSelectBoxNode, uiAbstractValueNode, uiBattleScapeNode, uiButtonNode, uiCheckBoxNode, uiPanelNode, uiTextListNode, uiBarNode, uiBaseLayoutNode, uiMessageListNode, uiTextEntryNode, uiStringNode, uiVScrollbarNode, and uiZoneNode.
Definition at line 108 of file ui_node_abstractnode.cpp.
Referenced by uiAbstractValueNode::onLoading(), uiPanelNode::onLoading(), and UI_Node_Loading().
Called when a property change
Reimplemented in uiSequenceNode, uiPanelNode, and uiOptionNode.
Definition at line 286 of file ui_node_abstractnode.cpp.
References UI_AbstractNodeVisibilityChange(), and UI_Node_SizeChanged().
Referenced by uiOptionNode::onPropertyChanged(), uiPanelNode::onPropertyChanged(), uiSequenceNode::onPropertyChanged(), and UI_Node_PropertyChanged().
Called when a windows gets active again after some other window was popped from the stack
Reimplemented in uiWindowNode.
Definition at line 259 of file ui_node_abstractnode.cpp.
References uiNode_t::firstChild, uiNode_t::next, and UI_Node_WindowActivate().
Referenced by uiWindowNode::onSizeChanged(), uiWindowNode::onWindowActivate(), and UI_Node_WindowActivate().
Invoked when the window is removed from the rendering stack
Reimplemented in uiWindowNode, uiCvarNode, uiTimerNode, uiSequenceNode, uiVideoNode, uiRadarNode, uiConFuncNode, and uiBattleScapeNode.
Definition at line 252 of file ui_node_abstractnode.cpp.
References uiNode_t::firstChild, uiNode_t::next, and UI_Node_WindowClosed().
Referenced by uiWindowNode::onWindowClosed(), and UI_Node_WindowClosed().
|
virtual |
Invoked when the window is added to the rendering stack
Reimplemented in uiWindowNode, uiCvarNode, uiBaseInventoryNode, uiTimerNode, uiSequenceNode, uiTabNode, uiVideoNode, uiRadarNode, uiConFuncNode, uiBattleScapeNode, and uiMaterialEditorNode.
Definition at line 245 of file ui_node_abstractnode.cpp.
References uiNode_t::firstChild, uiNode_t::next, and UI_Node_WindowOpened().
Referenced by uiWindowNode::onWindowOpened(), and UI_Node_WindowOpened().