UFO: Alien Invasion
Loading...
Searching...
No Matches
uiBehaviour_t Struct Reference

node behaviour, how a node work More...

#include <ui_behaviour.h>

Collaboration diagram for uiBehaviour_t:
Collaboration graph

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_tsuper
voidlua_SWIG_typeinfo
hashTable_snodeMethods

Detailed Description

node behaviour, how a node work

See also
virtualFunctions

Definition at line 39 of file ui_behaviour.h.

Field Documentation

◆ drawItselfChild

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

◆ extends

◆ extraDataSize

◆ focusEnabled

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.

◆ isAbstract

bool uiBehaviour_t::isAbstract

◆ isFunction

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

◆ isInitialized

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

◆ isVirtual

bool uiBehaviour_t::isVirtual

◆ localProperties

const value_t** uiBehaviour_t::localProperties

list of properties of the node

Definition at line 52 of file ui_behaviour.h.

Referenced by UI_GetPropertyFromBehaviour(), UI_InitializeNodeBehaviour(), and UI_RegisterNodePropertyPosSize_().

◆ lua_SWIG_typeinfo

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

◆ manager

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_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(), UI_TextScrollEnd(), uiAbstractScrollableNode_t_movedown(), uiAbstractScrollableNode_t_moveend(), uiAbstractScrollableNode_t_movehome(), uiAbstractScrollableNode_t_moveup(), uiAbstractScrollableNode_t_pagedown(), uiAbstractScrollableNode_t_pageup(), uiAbstractScrollableNode_t_set_fullsize(), uiAbstractScrollableNode_t_set_viewpos(), uiAbstractScrollableNode_t_set_viewsize(), uiGeoscapeNode_t_zoomin(), uiGeoscapeNode_t_zoomout(), and uiWindowNode_t_set_fill().

◆ name

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(), UI_RegisterZoneNode(), and uiNode_t_type().

◆ nodeMethods

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

◆ propertyCount

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

◆ registration

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

◆ super


The documentation for this struct was generated from the following file: