UFO: Alien Invasion
|
node behaviour, how a node work More...
#include <ui_behaviour.h>
Data Fields | |
const char * | name |
const char * | extends |
UINodePtr | manager |
bool | registration |
bool | isVirtual |
bool | isFunction |
bool | isAbstract |
bool | isInitialized |
bool | focusEnabled |
bool | drawItselfChild |
const value_t ** | localProperties |
int | propertyCount |
intptr_t | extraDataSize |
uiBehaviour_t * | super |
void * | lua_SWIG_typeinfo |
hashTable_s * | nodeMethods |
node behaviour, how a node work
Definition at line 39 of file ui_behaviour.h.
bool uiBehaviour_t::drawItselfChild |
if true, the node draw function must draw child, the core code will not do it
Definition at line 50 of file ui_behaviour.h.
Referenced by UI_Node_IsDrawItselfChild(), UI_RegisterAbstractOptionNode(), UI_RegisterModelNode(), UI_RegisterOptionListNode(), UI_RegisterOptionTreeNode(), UI_RegisterSelectBoxNode(), and UI_RegisterTabNode().
const char* uiBehaviour_t::extends |
name of the extends behaviour
Definition at line 42 of file ui_behaviour.h.
Referenced by UI_InitializeNodeBehaviour(), UI_RegisterBarNode(), UI_RegisterBaseInventoryNode(), UI_RegisterCheckBoxNode(), UI_RegisterControlsNode(), UI_RegisterItemNode(), UI_RegisterMaterialEditorNode(), UI_RegisterMessageListNode(), UI_RegisterOptionListNode(), UI_RegisterOptionTreeNode(), UI_RegisterPanelNode(), UI_RegisterSelectBoxNode(), UI_RegisterSpinnerNode(), UI_RegisterTabNode(), UI_RegisterTBarNode(), UI_RegisterText2Node(), UI_RegisterTextListNode(), UI_RegisterTextNode(), and UI_RegisterVScrollbarNode().
intptr_t uiBehaviour_t::extraDataSize |
Size of the extra data used (it come from "u" attribute)
Definition at line 54 of file ui_behaviour.h.
Referenced by UI_AllocNodeWithoutNew(), UI_InitializeNodeBehaviour(), UI_Node_GetMemorySize(), UI_RegisterAbstractOptionNode(), UI_RegisterAbstractScrollableNode(), UI_RegisterAbstractScrollbarNode(), UI_RegisterAbstractValueNode(), UI_RegisterBarNode(), UI_RegisterBaseInventoryNode(), UI_RegisterBaseLayoutNode(), UI_RegisterButtonNode(), UI_RegisterCheckBoxNode(), UI_RegisterContainerNode(), UI_RegisterDataNode(), UI_RegisterGeoscapeNode(), UI_RegisterImageNode(), UI_RegisterLineChartNode(), UI_RegisterModelNode(), UI_RegisterOptionNode(), UI_RegisterPanelNode(), UI_RegisterRadioButtonNode(), UI_RegisterRowsNode(), UI_RegisterSequenceNode(), UI_RegisterSpinnerNode(), UI_RegisterStringNode(), UI_RegisterTBarNode(), UI_RegisterText2Node(), UI_RegisterTextEntryNode(), UI_RegisterTextNode(), UI_RegisterTextureNode(), UI_RegisterTimerNode(), UI_RegisterVideoNode(), UI_RegisterWindowNode(), and UI_RegisterZoneNode().
bool uiBehaviour_t::focusEnabled |
true if the node can win the focus (should be use when type TAB)
Definition at line 49 of file ui_behaviour.h.
bool uiBehaviour_t::isAbstract |
true, if we can't instantiate the behaviour
Definition at line 47 of file ui_behaviour.h.
Referenced by UI_Node_IsAbstract(), UI_RegisterAbstractNode(), UI_RegisterAbstractOptionNode(), UI_RegisterAbstractScrollableNode(), UI_RegisterAbstractScrollbarNode(), and UI_RegisterAbstractValueNode().
bool uiBehaviour_t::isFunction |
true, if the node is a function
Definition at line 46 of file ui_behaviour.h.
Referenced by UI_Node_IsFunction(), UI_RegisterConFuncNode(), UI_RegisterCvarFuncNode(), and UI_RegisterFuncNode().
bool uiBehaviour_t::isInitialized |
cache if we already have initialized the node behaviour
Definition at line 48 of file ui_behaviour.h.
Referenced by UI_InitializeNodeBehaviour().
bool uiBehaviour_t::isVirtual |
true, if the node doesn't have any position on the screen
Definition at line 45 of file ui_behaviour.h.
Referenced by UI_GetNodeAbsPos(), UI_GetNodeScreenPos(), UI_NodeAbsoluteToRelativePos(), UI_RegisterConFuncNode(), UI_RegisterCvarFuncNode(), UI_RegisterDataNode(), UI_RegisterFuncNode(), and UI_RegisterNullNode().
const value_t** uiBehaviour_t::localProperties |
list of properties of the node
Definition at line 52 of file ui_behaviour.h.
Referenced by UI_DeleteNode(), UI_GetPropertyFromBehaviour(), UI_InitializeNodeBehaviour(), and UI_RegisterNodePropertyPosSize_().
void* uiBehaviour_t::lua_SWIG_typeinfo |
pointer to a swig_type_info structure, set during initialization
Definition at line 57 of file ui_behaviour.h.
Referenced by _wrap_create_component(), _wrap_create_control(), _wrap_get_window(), _wrap_new_uiNode(), _wrap_push_window(), _wrap_uiNode_child(), _wrap_uiNode_find(), _wrap_uiNode_first(), _wrap_uiNode_last(), _wrap_uiNode_next(), _wrap_uiNode_parent(), _wrap_uiNode_root(), UI_ExecuteLuaConFunc(), UI_ExecuteLuaEventScript(), UI_ExecuteLuaEventScript_DragDrop(), UI_ExecuteLuaEventScript_DragDrop_IsDropped(), UI_ExecuteLuaEventScript_DragDrop_XY(), UI_ExecuteLuaEventScript_DxDy(), UI_ExecuteLuaEventScript_Key(), UI_ExecuteLuaEventScript_ParamList(), UI_ExecuteLuaEventScript_ReturnBool(), UI_ExecuteLuaEventScript_XY(), UI_ExecuteLuaMethod(), UI_RegisterAbstractNode(), UI_RegisterAbstractOptionNode(), UI_RegisterAbstractScrollableNode(), UI_RegisterAbstractScrollbarNode(), UI_RegisterAbstractValueNode(), UI_RegisterBarNode(), UI_RegisterBaseInventoryNode(), UI_RegisterBaseLayoutNode(), UI_RegisterBattlescapeNode(), UI_RegisterButtonNode(), UI_RegisterCheckBoxNode(), UI_RegisterConFuncNode(), UI_RegisterContainerNode(), UI_RegisterControlsNode(), UI_RegisterCvarFuncNode(), UI_RegisterDataNode(), UI_RegisterEditorNode(), UI_RegisterFuncNode(), UI_RegisterGeoscapeNode(), UI_RegisterImageNode(), UI_RegisterItemNode(), UI_RegisterLineChartNode(), UI_RegisterMaterialEditorNode(), UI_RegisterMessageListNode(), UI_RegisterModelNode(), UI_RegisterNullNode(), UI_RegisterOptionListNode(), UI_RegisterOptionNode(), UI_RegisterOptionTreeNode(), UI_RegisterPanelNode(), UI_RegisterRadarNode(), UI_RegisterRadioButtonNode(), UI_RegisterRowsNode(), UI_RegisterSelectBoxNode(), UI_RegisterSequenceNode(), UI_RegisterSpinnerNode(), UI_RegisterStringNode(), UI_RegisterTabNode(), UI_RegisterTBarNode(), UI_RegisterText2Node(), UI_RegisterTextEntryNode(), UI_RegisterTextListNode(), UI_RegisterTextNode(), UI_RegisterTextureNode(), UI_RegisterTimerNode(), UI_RegisterVideoNode(), UI_RegisterVScrollbarNode(), UI_RegisterWindowNode(), and UI_RegisterZoneNode().
UINodePtr uiBehaviour_t::manager |
manager of the behaviour
Definition at line 43 of file ui_behaviour.h.
Referenced by UI_AbstractScrollableNodeMoveDown(), UI_AbstractScrollableNodeMoveEnd(), UI_AbstractScrollableNodeMoveHome(), UI_AbstractScrollableNodeMoveUp(), UI_AbstractScrollableNodePageDown(), UI_AbstractScrollableNodePageUp(), UI_AbstractValue_DecValue(), UI_AbstractValue_GetDelta(), UI_AbstractValue_GetLastDiff(), UI_AbstractValue_GetMax(), UI_AbstractValue_GetMin(), UI_AbstractValue_GetShiftIncreaseFactor(), UI_AbstractValue_GetValue(), UI_AbstractValue_IncValue(), UI_AbstractValue_SetDelta(), UI_AbstractValue_SetMax(), UI_AbstractValue_SetMin(), UI_AbstractValue_SetRange(), UI_AbstractValue_SetValue(), UI_CheckBox_Toggle(), UI_CheckBox_ValueAsBoolean(), UI_CheckBox_ValueAsInteger(), UI_GeoscapeNodeZoomIn(), UI_GeoscapeNodeZoomOut(), UI_InitializeNodeBehaviour(), UI_Node_Activate(), UI_Node_CapturedMouseLost(), UI_Node_CapturedMouseMove(), UI_Node_Clone(), UI_Node_DeleteNode(), UI_Node_DndDrop(), UI_Node_DndEnter(), UI_Node_DndFinished(), UI_Node_DndLeave(), UI_Node_DndMove(), UI_Node_DoLayout(), UI_Node_Draw(), UI_Node_DrawOverWindow(), UI_Node_DrawTooltip(), UI_Node_FocusGained(), UI_Node_FocusLost(), UI_Node_GetCellHeight(), UI_Node_GetCellWidth(), UI_Node_GetClientPosition(), UI_Node_InitNode(), UI_Node_InitNodeDynamic(), UI_Node_IsBattleScape(), UI_Node_IsDrawable(), UI_Node_IsOptionContainer(), UI_Node_IsScrollableContainer(), UI_Node_IsVirtual(), UI_Node_IsWindow(), UI_Node_KeyPressed(), UI_Node_KeyReleased(), UI_Node_LeftClick(), UI_Node_Loaded(), UI_Node_Loading(), UI_Node_MiddleClick(), UI_Node_MouseDown(), UI_Node_MouseEnter(), UI_Node_MouseLeave(), UI_Node_MouseLongPress(), UI_Node_MouseMove(), UI_Node_MouseUp(), UI_Node_PosChanged(), UI_Node_PropertyChanged(), UI_Node_RightClick(), UI_Node_Scroll(), UI_Node_SizeChanged(), UI_Node_StartDragging(), UI_Node_WindowActivate(), UI_Node_WindowClosed(), UI_Node_WindowOpened(), UI_RadioButton_SetValue(), UI_RegisterAbstractNode(), UI_RegisterAbstractOptionNode(), UI_RegisterAbstractScrollableNode(), UI_RegisterAbstractScrollbarNode(), UI_RegisterAbstractValueNode(), UI_RegisterBarNode(), UI_RegisterBaseInventoryNode(), UI_RegisterBaseLayoutNode(), UI_RegisterBattlescapeNode(), UI_RegisterButtonNode(), UI_RegisterCheckBoxNode(), UI_RegisterConFuncNode(), UI_RegisterContainerNode(), UI_RegisterControlsNode(), UI_RegisterCvarFuncNode(), UI_RegisterDataNode(), UI_RegisterEditorNode(), UI_RegisterFuncNode(), UI_RegisterGeoscapeNode(), UI_RegisterImageNode(), UI_RegisterItemNode(), UI_RegisterLineChartNode(), UI_RegisterMaterialEditorNode(), UI_RegisterMessageListNode(), UI_RegisterModelNode(), UI_RegisterOptionListNode(), UI_RegisterOptionNode(), UI_RegisterOptionTreeNode(), UI_RegisterPanelNode(), UI_RegisterRadarNode(), UI_RegisterRadioButtonNode(), UI_RegisterRowsNode(), UI_RegisterSelectBoxNode(), UI_RegisterSequenceNode(), UI_RegisterSpinnerNode(), UI_RegisterStringNode(), UI_RegisterTabNode(), UI_RegisterTBarNode(), UI_RegisterText2Node(), UI_RegisterTextEntryNode(), UI_RegisterTextListNode(), UI_RegisterTextNode(), UI_RegisterTextureNode(), UI_RegisterTimerNode(), UI_RegisterVideoNode(), UI_RegisterVScrollbarNode(), UI_RegisterWindowNode(), UI_RegisterZoneNode(), UI_SpinnerNodeRepeat(), and UI_TextScrollEnd().
const char* uiBehaviour_t::name |
name of the behaviour: string type of a node
Definition at line 41 of file ui_behaviour.h.
Referenced by TEST_F(), UI_AddBehaviourMethod(), UI_CreateComponent(), UI_CreateControl(), UI_EditorNodeExtractNode(), UI_ExecuteLuaConFunc(), UI_ExecuteLuaEventScript(), UI_ExecuteLuaEventScript_DragDrop(), UI_ExecuteLuaEventScript_DragDrop_IsDropped(), UI_ExecuteLuaEventScript_DragDrop_XY(), UI_ExecuteLuaEventScript_DxDy(), UI_ExecuteLuaEventScript_Key(), UI_ExecuteLuaEventScript_ParamList(), UI_ExecuteLuaEventScript_ReturnBool(), UI_ExecuteLuaEventScript_XY(), UI_ExecuteLuaMethod(), UI_InitializeNodeBehaviour(), UI_InitNodes(), UI_Node_GetWidgetName(), UI_Node_TypeOf(), UI_ParseComponent(), UI_ParseNode(), UI_RegisterAbstractNode(), UI_RegisterAbstractOptionNode(), UI_RegisterAbstractScrollableNode(), UI_RegisterAbstractScrollbarNode(), UI_RegisterAbstractValueNode(), UI_RegisterBarNode(), UI_RegisterBaseInventoryNode(), UI_RegisterBaseLayoutNode(), UI_RegisterBattlescapeNode(), UI_RegisterButtonNode(), UI_RegisterCheckBoxNode(), UI_RegisterConFuncNode(), UI_RegisterContainerNode(), UI_RegisterControlsNode(), UI_RegisterCvarFuncNode(), UI_RegisterDataNode(), UI_RegisterEditorNode(), UI_RegisterFuncNode(), UI_RegisterGeoscapeNode(), UI_RegisterImageNode(), UI_RegisterItemNode(), UI_RegisterLineChartNode(), UI_RegisterMaterialEditorNode(), UI_RegisterMessageListNode(), UI_RegisterModelNode(), UI_RegisterNodePropertyPosSize_(), UI_RegisterNullNode(), UI_RegisterOptionListNode(), UI_RegisterOptionNode(), UI_RegisterOptionTreeNode(), UI_RegisterPanelNode(), UI_RegisterRadarNode(), UI_RegisterRadioButtonNode(), UI_RegisterRowsNode(), UI_RegisterSelectBoxNode(), UI_RegisterSequenceNode(), UI_RegisterSpinnerNode(), UI_RegisterStringNode(), UI_RegisterTabNode(), UI_RegisterTBarNode(), UI_RegisterText2Node(), UI_RegisterTextEntryNode(), UI_RegisterTextListNode(), UI_RegisterTextNode(), UI_RegisterTextureNode(), UI_RegisterTimerNode(), UI_RegisterVideoNode(), UI_RegisterVScrollbarNode(), UI_RegisterWindowNode(), and UI_RegisterZoneNode().
hashTable_s* uiBehaviour_t::nodeMethods |
hash map for storing lua defined node functions
Definition at line 58 of file ui_behaviour.h.
Referenced by UI_AddBehaviourMethod(), and UI_GetBehaviourMethod().
int uiBehaviour_t::propertyCount |
number of the properties into the propertiesList. Cache value to speedup search
Definition at line 53 of file ui_behaviour.h.
Referenced by UI_GetPropertyFromBehaviour(), UI_InitializeNodeBehaviour(), and UI_RegisterNodePropertyPosSize_().
bool uiBehaviour_t::registration |
True if we can define the behavior with registration function
Definition at line 44 of file ui_behaviour.h.
Referenced by UI_InitNodes().
uiBehaviour_t* uiBehaviour_t::super |
link to the extended node
Definition at line 55 of file ui_behaviour.h.
Referenced by UI_ContainerNodeGetExistingItem(), UI_DeleteNode(), UI_GetBehaviourMethod(), UI_GetPropertyFromBehaviour(), UI_InitializeNodeBehaviour(), UI_NodeInstanceOf(), and UI_NodeInstanceOfPointer().