|
UFO: Alien Invasion
|
Atomic structure used to define most of the UI. More...
#include <ui_nodes.h>

Atomic structure used to define most of the UI.
Definition at line 80 of file ui_nodes.h.
| int uiNode_t::align |
used to identify node position into a parent using a layout manager. Else it do nothing.
Definition at line 110 of file ui_nodes.h.
Referenced by UI_BorderLayout(), UI_StarLayout(), uiNode_t_layoutalign(), and uiNode_t_set_layoutalign().
| uiBehaviour_t* uiNode_t::behaviour |
Definition at line 83 of file ui_nodes.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(), uiAbstractOptionNode::doLayout(), uiModelNode::doLayout(), uiOptionNode::doLayout(), uiTabNode::draw(), uiFuncNode::onLoaded(), uiPanelNode::onPropertyChanged(), uiConFuncNode::onWindowClosed(), uiConFuncNode::onWindowOpened(), uiTabNode::onWindowOpened(), UFO_AnalyseTestWindow(), UI_AbstractOption_GetFirstOption(), 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_AllocNodeWithoutNew(), UI_CheckBox_Toggle(), UI_CheckBox_ValueAsBoolean(), UI_CheckBox_ValueAsInteger(), UI_CreateComponent(), UI_CreateControl(), UI_DeleteNode(), UI_DrawModelNode(), 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_FindOptionAtIndex(), UI_FindOptionByValue(), UI_GenInjectedString(), UI_GeoscapeNodeZoomIn(), UI_GeoscapeNodeZoomOut(), UI_GetNodeAbsPos(), UI_GetNodeMethod(), UI_GetNodeScreenPos(), UI_GetPropertyOrLuaMethod(), UI_HasNodeMethod(), UI_InitOption(), UI_InitOptionIteratorAtIndex(), 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_GetMemorySize(), UI_Node_GetWidgetName(), UI_Node_InitNode(), UI_Node_InitNodeDynamic(), UI_Node_IsAbstract(), UI_Node_IsBattleScape(), UI_Node_IsDrawable(), UI_Node_IsDrawItselfChild(), UI_Node_IsFunction(), 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_TypeOf(), UI_Node_WindowActivate(), UI_Node_WindowClosed(), UI_Node_WindowOpened(), UI_NodeAbsoluteToRelativePos(), UI_NodeInstanceOf(), UI_NodeInstanceOfPointer(), UI_OptionTreeNodeGetFirstOption(), UI_OptionUpdateCache(), UI_ParseNode(), UI_ParseNodeBody(), UI_ParseNodeProperties(), UI_RadioButton_SetValue(), UI_RadioButton_SetValue(), UI_Shutdown(), UI_SpinnerNodeRepeat(), UI_TextScrollEnd(), UI_Window_SetCloseButton(), 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(), uiNode_t_add_classmethod(), uiNode_t_type(), and uiWindowNode_t_set_fill().
| vec4_t uiNode_t::bgcolor |
rgba
Definition at line 125 of file ui_nodes.h.
Referenced by uiBaseLayoutNode::draw(), uiBaseLayoutNode::onLoading(), UI_DrawNode(), and uiNode_t_set_backgroundcolor().
| int uiNode_t::border |
border for this node - thickness in pixel - default 0 - also see bgcolor
Definition at line 124 of file ui_nodes.h.
Referenced by UI_DrawNode(), uiNode_t_bordersize(), uiNode_t_set_bordersize(), and uiNode_t_set_borderthickness().
| vec4_t uiNode_t::bordercolor |
rgba - see border and padding
Definition at line 126 of file ui_nodes.h.
Referenced by UI_DrawNode(), and uiNode_t_set_bordercolor().
| uiBox_t uiNode_t::box |
Definition at line 96 of file ui_nodes.h.
Referenced by uiModelNode::doLayout(), uiTextNode::doLayout(), uiWindowNode::doLayout(), uiBarNode::draw(), uiBaseLayoutNode::draw(), uiBattleScapeNode::draw(), uiButtonNode::draw(), uiCheckBoxNode::draw(), uiGeoscapeNode::draw(), uiImageNode::draw(), uiItemNode::draw(), uiLineChartNode::draw(), uiMaterialEditorNode::draw(), uiMessageListNode::draw(), uiOptionListNode::draw(), uiOptionTreeNode::draw(), uiPanelNode::draw(), uiRadarNode::draw(), uiRadioButtonNode::draw(), uiRowsNode::draw(), uiSelectBoxNode::draw(), uiSequenceNode::draw(), uiSpinnerNode::draw(), uiStringNode::draw(), uiTabNode::draw(), uiTBarNode::draw(), uiTextEntryNode::draw(), uiTextureNode::draw(), uiVScrollbarNode::draw(), uiWindowNode::draw(), uiSelectBoxNode::drawOverWindow(), uiVideoNode::drawOverWindow(), uiText2Node::drawText(), uiTextListNode::drawText(), uiTextNode::drawText(), uiStringNode::drawTooltip(), uiSpinnerNode::isPositionIncrease(), uiAbstractScrollableNode::isSizeChange(), uiBarNode::onCapturedMouseMove(), uiControlNode::onCapturedMouseMove(), uiGeoscapeNode::onCapturedMouseMove(), uiRadarNode::onCapturedMouseMove(), uiSelectBoxNode::onCapturedMouseMove(), uiVScrollbarNode::onCapturedMouseMove(), uiTextEntryNode::onFocusGained(), uiSelectBoxNode::onLeftClick(), uiButtonNode::onLoaded(), uiContainerNode::onLoaded(), uiImageNode::onLoaded(), uiSelectBoxNode::onLoaded(), uiText2Node::onLoaded(), uiVScrollbarNode::onLoaded(), uiVScrollbarNode::onLoading(), uiWindowNode::onLoading(), uiControlNode::onMouseDown(), uiBattleScapeNode::onSizeChanged(), uiWindowNode::onSizeChanged(), uiBattleScapeNode::onWindowOpened(), UI_BaseInventoryNodeDraw2(), UI_BaseInventoryNodeDrawItems(), UI_BaseInventoryNodeGetItem(), UI_BorderLayout(), UI_ClientLayout(), UI_ColumnLayout(), UI_ContainerNodeDrawDropPreview(), UI_ContainerNodeDrawFreeSpace(), UI_ContainerNodeDrawSingle(), UI_DrawDisabled(), UI_DrawFree(), UI_DrawModelNode(), UI_DrawModelNodeWithUIModel(), UI_DrawNode(), UI_EditorNodeExtractNode(), UI_EditorNodeGetElementAtPosition(), UI_EditorNodeHighlightNode(), UI_GetNodeAbsPos(), UI_GetNodeInTreeAtPosition(), UI_GetNodeScreenPos(), UI_InitModelInfoView(), UI_InitRadar(), UI_LeftRightFlowLayout(), UI_MaterialEditorNodeGetImageAtPosition(), UI_NodeAbsoluteToRelativePos(), UI_NodeGetPoint(), UI_NodeRelativeToAbsolutePoint(), UI_NodeSetBox(), UI_NodeSetPos(), UI_NodeSetSize(), UI_OptionListNodeGetOptionAtPosition(), UI_OptionListNodeUpdateScroll(), UI_OptionTreeNodeUpdateScroll(), UI_PackLayout(), UI_PushDropDownWindow_f(), UI_SetNewWindowPos(), UI_StarLayout(), UI_TabNodeTabAtPosition(), UI_TopDownFlowLayout(), UI_VScrollbarNodeGetElementSize(), UI_Window_FlagFullscreen(), UI_Window_SetCloseButton(), UI_Window_SetDragButton(), uiNode_t_height(), uiNode_t_left(), uiNode_t_top(), uiNode_t_width(), and uiMaterialEditorNode::updateView().
| vec4_t uiNode_t::color |
rgba
Definition at line 127 of file ui_nodes.h.
Referenced by uiBarNode::draw(), uiBaseInventoryNode::draw(), uiBaseLayoutNode::draw(), uiButtonNode::draw(), uiContainerNode::draw(), uiImageNode::draw(), uiOptionListNode::draw(), uiOptionTreeNode::draw(), uiRowsNode::draw(), uiStringNode::draw(), uiTextEntryNode::draw(), uiSelectBoxNode::drawOverWindow(), uiText2Node::drawText(), uiTextListNode::drawText(), uiTextNode::drawText(), GEO_DrawMarkers(), uiBarNode::onLoading(), uiBaseInventoryNode::onLoading(), uiBaseLayoutNode::onLoading(), uiButtonNode::onLoading(), uiContainerNode::onLoading(), uiGeoscapeNode::onLoading(), uiMessageListNode::onLoading(), uiModelNode::onLoading(), uiOptionListNode::onLoading(), uiOptionTreeNode::onLoading(), uiSelectBoxNode::onLoading(), uiStringNode::onLoading(), uiText2Node::onLoading(), uiTextEntryNode::onLoading(), uiTextListNode::onLoading(), uiTextNode::onLoading(), PR_RequirementsInfo(), UFO_AnalyseTestWindow(), UI_DrawModelNode(), UI_DrawModelNodeWithUIModel(), UI_MessageDraw(), and uiNode_t_set_color().
| int uiNode_t::contentAlign |
Content alignment inside nodes
Definition at line 120 of file ui_nodes.h.
Referenced by uiButtonNode::draw(), uiImageNode::draw(), uiStringNode::draw(), uiTextEntryNode::draw(), uiText2Node::drawText(), uiTextListNode::drawText(), uiTextNode::drawText(), uiButtonNode::onLoading(), uiTextEntryNode::onLoading(), uiTextListNode::onLoading(), uiNode_t_contentalign(), and uiNode_t_set_contentalign().
| int uiNode_t::deleteTime |
delayed delete time
Definition at line 113 of file ui_nodes.h.
Referenced by UI_AbstractNodeCallDeleteTimed(), and UI_DrawNode().
| bool uiNode_t::disabled |
true if the node is inactive
Definition at line 102 of file ui_nodes.h.
Referenced by AIM_UpdateAircraftItemList(), CL_LanguageInitMenu(), uiButtonNode::draw(), uiCheckBoxNode::draw(), uiOptionListNode::draw(), uiOptionTreeNode::draw(), uiRadioButtonNode::draw(), uiSpinnerNode::draw(), uiStringNode::draw(), uiTabNode::draw(), uiTextEntryNode::draw(), uiCheckBoxNode::onLeftClick(), uiTabNode::onLeftClick(), uiTextEntryNode::onLeftClick(), uiBarNode::onMouseDown(), uiRadarNode::onMouseDown(), uiSpinnerNode::onMouseDown(), uiSpinnerNode::onScroll(), uiCheckBoxNode::toggle(), UI_KeyPressedInWindow(), UI_Node_IsDisabled(), and UI_Node_SetDisabled().
| vec4_t uiNode_t::disabledColor |
rgba The color to draw when the node is disabled.
Definition at line 103 of file ui_nodes.h.
Referenced by uiButtonNode::draw(), uiOptionListNode::draw(), uiOptionTreeNode::draw(), uiStringNode::draw(), uiTextEntryNode::draw(), uiButtonNode::onLoading(), uiOptionListNode::onLoading(), uiOptionTreeNode::onLoading(), uiStringNode::onLoading(), uiTextEntryNode::onLoading(), and uiNode_t_set_disabledcolor().
| bool uiNode_t::dragdrop |
set to true to enable dragdrop on this node
Definition at line 165 of file ui_nodes.h.
Referenced by uiLocatedNode::onDndDrop(), uiLocatedNode::onDndEnter(), uiLocatedNode::onDndFinished(), uiLocatedNode::onDndLeave(), and uiLocatedNode::onDndMove().
| bool uiNode_t::dynamic |
Definition at line 85 of file ui_nodes.h.
Referenced by UI_AllocNode(), UI_AllocNodeWithoutNew(), UI_CloneCvarOrFloat(), UI_CloneNode(), UI_DeleteNode(), UI_Window_SetCloseButton(), and UI_Window_SetDragButton().
| uiNode_t* uiNode_t::firstChild |
If true, the node name indexed into his window first element of linked list of child
Definition at line 89 of file ui_nodes.h.
Referenced by uiAbstractOptionNode::doLayout(), uiLocatedNode::doLayout(), uiOptionNode::doLayout(), uiOptionTreeNode::draw(), uiTabNode::draw(), MSO_InitList(), uiOptionTreeNode::onLeftClick(), uiLocatedNode::onSizeChanged(), uiNode::onWindowActivate(), uiNode::onWindowClosed(), uiNode::onWindowOpened(), uiTabNode::onWindowOpened(), PR_RequirementsInfo(), UFO_AnalyseTestWindow(), UI_AbstractOption_GetFirstOption(), UI_AbstractOption_SortOptions(), UI_BorderLayout(), UI_ClientLayout(), UI_CloneNode(), UI_ColumnLayout(), UI_DebugTree(), UI_DeleteAllChild(), UI_DeleteNode(), UI_DrawModelNode(), UI_DrawNode(), UI_EditorNodeExtractNode(), UI_ExecuteAction(), UI_FindNode(), UI_FindOptionAtIndex(), UI_FocusNextActionNode(), UI_GetNode(), UI_GetNodeInTreeAtPosition(), UI_GetPrevNode(), UI_InsertNode(), UI_LeftRightFlowLayout(), UI_OptionIteratorNextOption(), UI_OptionTreeNodeGetFirstOption(), UI_OptionUpdateCache(), UI_PackLayout(), UI_PrintNodeTree(), UI_RemoveNode(), UI_Shutdown(), UI_StarLayout(), UI_TabNodeTabAtPosition(), UI_TopDownFlowLayout(), UI_UpdateRoot(), uiNode_t_first(), and UP_GenerateSummary().
| uiExcludeRect_t* uiNode_t::firstExcludeRect |
linked list of exclude rect, which exclude node zone for hover or click functions
Definition at line 116 of file ui_nodes.h.
Referenced by UI_GetNodeInTreeAtPosition(), and UI_ParseExcludeRect().
| bool uiNode_t::flash |
is node flashing
Definition at line 107 of file ui_nodes.h.
Referenced by uiButtonNode::draw(), UI_Node_IsFlashing(), and uiNode_t_set_flashing().
| vec4_t uiNode_t::flashColor |
rgbx The color of the flashing effect.
Definition at line 129 of file ui_nodes.h.
Referenced by uiButtonNode::draw(), uiButtonNode::onLoading(), and uiNode_t_set_flashcolor().
| float uiNode_t::flashSpeed |
speed of the flashing effect
Definition at line 108 of file ui_nodes.h.
Referenced by uiButtonNode::draw(), uiButtonNode::onLoading(), uiNode_t_flashspeed(), and uiNode_t_set_flashspeed().
| char* uiNode_t::font |
Font to draw text
Definition at line 122 of file ui_nodes.h.
Referenced by uiWindowNode::onLoading(), UI_GetFontFromNode(), UI_Node_SetFont(), and uiNode_t_font().
| bool uiNode_t::ghost |
true if the node is not tangible
Definition at line 105 of file ui_nodes.h.
Referenced by UI_GetNodeInTreeAtPosition(), UI_Node_IsGhost(), and uiNode_t_set_ghost().
| char* uiNode_t::image |
Definition at line 123 of file ui_nodes.h.
Referenced by uiImageNode::draw(), uiRadioButtonNode::draw(), uiSelectBoxNode::draw(), uiTextureNode::draw(), uiVScrollbarNode::draw(), uiSelectBoxNode::drawOverWindow(), uiImageNode::onLoaded(), UI_Node_SetImage(), UI_TBar_SetImage(), and uiNode_t_image().
| bool uiNode_t::indexed |
If true, it use dynamic memory
Definition at line 86 of file ui_nodes.h.
Referenced by UI_InsertNode(), and UI_RemoveNode().
| bool uiNode_t::invalidated |
true if we need to update the layout
Definition at line 104 of file ui_nodes.h.
Referenced by uiAbstractOptionNode::doLayout(), uiLocatedNode::doLayout(), uiOptionNode::doLayout(), uiOptionTreeNode::doLayout(), uiPanelNode::doLayout(), uiWindowNode::doLayout(), UI_Invalidate(), and UI_Validate().
| bool uiNode_t::invis |
true if the node is invisible
Definition at line 101 of file ui_nodes.h.
Referenced by CL_SetRatioFilter_f(), uiAbstractOptionNode::doLayout(), uiOptionNode::doLayout(), uiTabNode::draw(), uiSelectBoxNode::onLeftClick(), UFO_AnalyseTestWindow(), UI_AbstractOption_GetFirstOption(), UI_BorderLayout(), UI_DrawNode(), UI_FindOptionAtIndex(), UI_GetNodeInTreeAtPosition(), UI_HideNode(), UI_KeyPressedInWindow(), UI_Node_IsInvisible(), UI_OptionIteratorNextOption(), UI_OptionUpdateCache(), UI_SetOneButton(), UI_UnHideNode(), UI_UpdateInvisOptions(), and uiNode_t_set_invisible().
| struct uiKeyBinding_s* uiNode_t::key |
key bindings - used as tooltip
Definition at line 100 of file ui_nodes.h.
Referenced by UI_SetKeyBindingEx(), and UI_Tooltip().
| uiNode_t* uiNode_t::lastChild |
last element of linked list of child
Definition at line 90 of file ui_nodes.h.
Referenced by UI_AbstractOption_SortOptions(), UI_AppendNode(), UI_CloneNode(), UI_InsertNode(), UI_RemoveNode(), and uiNode_t_last().
| LUA_EVENT uiNode_t::lua_onActivate |
references the event in lua: on_activate (node)
Definition at line 159 of file ui_nodes.h.
Referenced by uiNode::initNode(), and uiNode::onActivate().
| LUA_EVENT uiNode_t::lua_onChange |
references the event in lua: on_change (node)
Definition at line 162 of file ui_nodes.h.
Referenced by uiNode::initNode(), uiRadioButtonNode::onActivate(), uiContainerNode::onDndFinished(), uiTextListNode::onLeftClick(), uiMaterialEditorNode::onMouseDown(), uiTextListNode::onRightClick(), uiAbstractValueNode::setValue(), UI_AbstractOption_SetCurrentValue(), UI_AbstractScrollbarNodeSet(), UI_AbstractValue_SetValueCvar(), UI_ContainerNodeAutoPlaceItem(), UI_TextEntryNodeValidateEdition(), and UI_TextNodeSelectLine().
| LUA_EVENT uiNode_t::lua_onClick |
references the event in lua: on_click (node, x, y)
Definition at line 148 of file ui_nodes.h.
Referenced by uiNode::initNode(), uiCheckBoxNode::onLeftClick(), uiLocatedNode::onLeftClick(), uiRadioButtonNode::onLeftClick(), uiText2Node::onLeftClick(), uiTextEntryNode::onLeftClick(), uiTextListNode::onLeftClick(), uiTextNode::onLeftClick(), UI_ConfuncCommand_f(), and UI_ExecuteCallAction().
| LUA_EVENT uiNode_t::lua_onDragDropDrop |
Send to the target to finalize the drop references the event in lua: on_dragdropdrop (node, x, y)
Definition at line 173 of file ui_nodes.h.
Referenced by uiNode::initNode(), and uiLocatedNode::onDndDrop().
| LUA_EVENT uiNode_t::lua_onDragDropEnter |
Send to the target when we enter first, return true if we can drop the DND somewhere on the node references the event in lua: on_dragdropenter (node)
Definition at line 167 of file ui_nodes.h.
Referenced by uiNode::initNode(), and uiLocatedNode::onDndEnter().
| LUA_EVENT uiNode_t::lua_onDragDropFinished |
Sent to the source to finalize the drop references the event in lua: on_dragdropfinished (node, isdropped)
Definition at line 175 of file ui_nodes.h.
Referenced by uiNode::initNode(), and uiLocatedNode::onDndFinished().
| LUA_EVENT uiNode_t::lua_onDragDropLeave |
Send to the target when the DND is canceled references the event in lua: on_dragdropleave (node)
Definition at line 169 of file ui_nodes.h.
Referenced by uiNode::initNode(), and uiLocatedNode::onDndLeave().
| LUA_EVENT uiNode_t::lua_onDragDropMove |
Send to the target when we enter first, return true if we can drop the DND here references the event in lua: on_dragdropmove (node, x, y)
Definition at line 171 of file ui_nodes.h.
Referenced by uiNode::initNode(), and uiLocatedNode::onDndMove().
| LUA_EVENT uiNode_t::lua_onFocusGained |
references the event in lua: on_focusgained (node)
Definition at line 154 of file ui_nodes.h.
Referenced by uiNode::initNode(), and uiLocatedNode::onFocusGained().
| LUA_EVENT uiNode_t::lua_onFocusLost |
references the event in lua: on_focuslost (node)
Definition at line 155 of file ui_nodes.h.
Referenced by uiNode::initNode(), and uiLocatedNode::onFocusLost().
| LUA_EVENT uiNode_t::lua_onKeyPressed |
references the event in lua: on_keypressed (node, key, unicode)
Definition at line 156 of file ui_nodes.h.
Referenced by uiNode::initNode(), and uiLocatedNode::onKeyPressed().
| LUA_EVENT uiNode_t::lua_onKeyReleased |
references the event in lua: on_keyreleased (node, key, unicode)
Definition at line 157 of file ui_nodes.h.
Referenced by uiNode::initNode(), and uiLocatedNode::onKeyReleased().
| LUA_EVENT uiNode_t::lua_onLoaded |
references the event in lua: on_loaded (node)
Definition at line 158 of file ui_nodes.h.
Referenced by uiNode::initNode(), and uiNode::onLoaded().
| LUA_EVENT uiNode_t::lua_onMiddleClick |
references the event in lua: on_middleclick (node, x, y)
Definition at line 150 of file ui_nodes.h.
Referenced by uiNode::initNode(), and uiLocatedNode::onMiddleClick().
| LUA_EVENT uiNode_t::lua_onMouseEnter |
references the event in lua: on_mouseenter (node)
Definition at line 160 of file ui_nodes.h.
Referenced by uiNode::initNode(), and uiLocatedNode::onMouseEnter().
| LUA_EVENT uiNode_t::lua_onMouseLeave |
references the event in lua: on_mouseleave (node)
Definition at line 161 of file ui_nodes.h.
Referenced by uiNode::initNode(), and uiLocatedNode::onMouseLeave().
| LUA_EVENT uiNode_t::lua_onRightClick |
references the event in lua: on_rightclick (node, x, y)
Definition at line 149 of file ui_nodes.h.
Referenced by uiNode::initNode(), uiLocatedNode::onRightClick(), and uiTextListNode::onRightClick().
| LUA_EVENT uiNode_t::lua_onVisibleWhen |
references the event in lua: on_visible (node)
Definition at line 163 of file ui_nodes.h.
Referenced by uiNode::initNode(), and UI_CheckVisibility().
| LUA_EVENT uiNode_t::lua_onWheel |
references the event in lua: on_wheel (node, dx, dy)
Definition at line 153 of file ui_nodes.h.
Referenced by uiNode::initNode(), and uiLocatedNode::onScroll().
| LUA_EVENT uiNode_t::lua_onWheelDown |
references the event in lua: on_wheeldown (node, dx, dy)
Definition at line 152 of file ui_nodes.h.
Referenced by uiNode::initNode(), and uiLocatedNode::onScroll().
| LUA_EVENT uiNode_t::lua_onWheelUp |
references the event in lua: on_wheelup (node, dx, dy)
Definition at line 151 of file ui_nodes.h.
Referenced by uiNode::initNode(), and uiLocatedNode::onScroll().
| char uiNode_t::name[MAX_VAR] |
name from the script files
Definition at line 82 of file ui_nodes.h.
Referenced by AIM_UpdateAircraftItemList(), uiConFuncNode::deleteNode(), uiTimerNode::draw(), HUD_CheckCLHud(), uiConFuncNode::onLoaded(), uiContainerNode::onLoaded(), uiFuncNode::onLoaded(), uiConFuncNode::onWindowClosed(), uiCvarNode::onWindowClosed(), uiConFuncNode::onWindowOpened(), UFO_AnalyseTestWindow(), UI_AddNodeMethod(), UI_AllocNodeWithoutNew(), UI_CloneNode(), UI_CloseWindowByRef(), UI_ConFuncIsVirtual(), UI_CvarListenerNodeBind(), UI_DebugListWindows_f(), UI_DebugTree(), UI_EditorNodeExtract_f(), UI_EditorNodeExtractNode(), UI_ExecuteLuaMethod_ByName(), UI_GetActiveWindowName(), UI_GetNode(), UI_GetNodeAbsPos(), UI_GetNodeScreenPos(), UI_InsertComponent(), UI_InsertWindow(), UI_NodeAbsoluteToRelativePos(), UI_ParseEventProperty(), UI_ParseExcludeRect(), UI_ParseNodeBody(), UI_ParseNodeProperties(), UI_ParseWindow(), UI_PopupButton(), UI_PopupList(), UI_PrintNodeTree(), UI_PushDropDownWindow_f(), UI_SetKeyBindingEx(), UI_SetOneButton(), UI_Shutdown(), UI_UpdateInvisOptions(), UI_WindowNodeAddIndexedNode(), uiNode_t_name(), and uiWindowNode_t_open().
| uiNode_t* uiNode_t::next |
Next element into linked list
Definition at line 91 of file ui_nodes.h.
Referenced by CL_SetRatioFilter_f(), uiAbstractOptionNode::doLayout(), uiLocatedNode::doLayout(), uiOptionNode::doLayout(), uiOptionListNode::draw(), uiSelectBoxNode::draw(), uiTabNode::draw(), uiSelectBoxNode::drawOverWindow(), uiSelectBoxNode::onCapturedMouseMove(), uiSelectBoxNode::onLeftClick(), uiNode::onWindowActivate(), uiNode::onWindowClosed(), uiNode::onWindowOpened(), UFO_AnalyseTestWindow(), UI_AbstractOption_GetFirstOption(), UI_AbstractOption_SortOptions(), UI_AddOption(), UI_BorderLayout(), UI_ClientLayout(), UI_CloneNode(), UI_ColumnLayout(), UI_DebugTree(), UI_DeleteAllChild(), UI_DeleteOption(), UI_DrawModelNode(), UI_DrawNode(), UI_EditorNodeExtractNode(), UI_ExecuteAction(), UI_FindNode(), UI_FindOptionAtIndex(), UI_GetNode(), UI_GetNodeInTreeAtPosition(), UI_GetPrevNode(), UI_InsertNode(), UI_LeftRightFlowLayout(), UI_OptionIteratorNextOption(), UI_OptionListNodeGetOptionAtPosition(), UI_OptionNodeRemoveHigherOption(), UI_OptionUpdateCache(), UI_PackLayout(), UI_PrintNodeTree(), UI_RemoveNode(), UI_Shutdown(), UI_SortOptions(), UI_StarLayout(), UI_TabNodeTabAtPosition(), UI_TopDownFlowLayout(), UI_UpdateInvisOptions(), UI_UpdateRoot(), and uiNode_t_next().
| hashTable_s* uiNode_t::nodeMethods |
hash map for storing lua defined node functions
Definition at line 132 of file ui_nodes.h.
Referenced by uiNode::deleteNode(), UI_AddNodeMethod(), and UI_CloneNode().
| int uiNode_t::num |
used to identify child into a parent; not sure it is need
Definition at line 111 of file ui_nodes.h.
Referenced by uiMaterialEditorNode::draw(), uiMaterialEditorNode::onMouseDown(), and uiMaterialEditorNode::onWindowOpened().
| struct uiAction_s* uiNode_t::onChange |
called when the widget change from an user action
Definition at line 143 of file ui_nodes.h.
Referenced by uiRadioButtonNode::onActivate(), uiContainerNode::onDndFinished(), uiTextListNode::onLeftClick(), uiMaterialEditorNode::onMouseDown(), uiTextListNode::onRightClick(), uiAbstractValueNode::setValue(), UI_AbstractOption_SetCurrentValue(), UI_AbstractScrollbarNodeSet(), UI_AbstractValue_SetValueCvar(), UI_ContainerNodeAutoPlaceItem(), UI_TextEntryNodeValidateEdition(), and UI_TextNodeSelectLine().
| struct uiAction_s* uiNode_t::onClick |
Definition at line 135 of file ui_nodes.h.
Referenced by uiNode::onActivate(), uiCheckBoxNode::onLeftClick(), uiLocatedNode::onLeftClick(), uiRadioButtonNode::onLeftClick(), uiText2Node::onLeftClick(), uiTextEntryNode::onLeftClick(), uiTextListNode::onLeftClick(), uiTextNode::onLeftClick(), uiFuncNode::onLoaded(), uiImageNode::onLoaded(), UI_AddListener(), UI_ConfuncCommand_f(), UI_CvarListenerNodeCallback(), UI_ExecuteCallAction(), UI_ParseFunction(), UI_PopupList(), UI_RemoveListener(), UI_SetOneButton(), UI_Window_SetCloseButton(), and UI_ZoneNodeRepeat().
| struct uiAction_s* uiNode_t::onMiddleClick |
Definition at line 137 of file ui_nodes.h.
Referenced by uiImageNode::onLoaded(), and uiLocatedNode::onMiddleClick().
| struct uiAction_s* uiNode_t::onMouseEnter |
Definition at line 139 of file ui_nodes.h.
Referenced by uiImageNode::onLoaded(), and uiLocatedNode::onMouseEnter().
| struct uiAction_s* uiNode_t::onMouseLeave |
Definition at line 140 of file ui_nodes.h.
Referenced by uiImageNode::onLoaded(), and uiLocatedNode::onMouseLeave().
| struct uiAction_s* uiNode_t::onRightClick |
Definition at line 136 of file ui_nodes.h.
Referenced by uiImageNode::onLoaded(), uiLocatedNode::onRightClick(), uiText2Node::onRightClick(), uiTextListNode::onRightClick(), and uiTextNode::onRightClick().
| struct uiAction_s* uiNode_t::onWheel |
Definition at line 138 of file ui_nodes.h.
Referenced by uiImageNode::onLoaded(), uiLocatedNode::onScroll(), uiMessageListNode::onScroll(), uiOptionListNode::onScroll(), uiOptionTreeNode::onScroll(), uiPanelNode::onScroll(), and uiTextNode::onScroll().
| struct uiAction_s* uiNode_t::onWheelDown |
Definition at line 142 of file ui_nodes.h.
Referenced by uiImageNode::onLoaded(), uiLocatedNode::onScroll(), uiMessageListNode::onScroll(), uiOptionListNode::onScroll(), uiOptionTreeNode::onScroll(), uiPanelNode::onScroll(), and uiTextNode::onScroll().
| struct uiAction_s* uiNode_t::onWheelUp |
Definition at line 141 of file ui_nodes.h.
Referenced by uiImageNode::onLoaded(), uiLocatedNode::onScroll(), uiMessageListNode::onScroll(), uiOptionListNode::onScroll(), uiOptionTreeNode::onScroll(), uiPanelNode::onScroll(), and uiTextNode::onScroll().
| int uiNode_t::padding |
padding for this node - default 3 - see bgcolor
Definition at line 109 of file ui_nodes.h.
Referenced by uiBarNode::draw(), uiBaseLayoutNode::draw(), uiButtonNode::draw(), uiImageNode::draw(), uiMaterialEditorNode::draw(), uiMessageListNode::draw(), uiOptionListNode::draw(), uiOptionTreeNode::draw(), uiStringNode::draw(), uiTextEntryNode::draw(), uiWindowNode::draw(), uiText2Node::drawText(), uiTextListNode::drawText(), uiTextNode::drawText(), uiStringNode::drawTooltip(), uiButtonNode::onLoaded(), uiBaseLayoutNode::onLoading(), uiButtonNode::onLoading(), uiOptionListNode::onLoading(), uiOptionTreeNode::onLoading(), uiStringNode::onLoading(), uiTextEntryNode::onLoading(), uiWindowNode::onLoading(), UI_BorderLayout(), UI_ClientLayout(), UI_ColumnLayout(), UI_DrawModelNode(), UI_DrawModelNodeWithUIModel(), UI_LeftRightFlowLayout(), UI_MaterialEditorNodeGetImageAtPosition(), UI_MessageDraw(), UI_MessageGetLines(), UI_OptionListNodeGetOptionAtPosition(), UI_OptionListNodeUpdateScroll(), UI_OptionTreeNodeGetOptionAtPosition(), UI_OptionTreeNodeUpdateScroll(), UI_PackLayout(), UI_TextListNodeGetLine(), UI_TextNodeGetLine(), UI_TextNodeGetLine(), UI_TopDownFlowLayout(), uiNode_t_padding(), uiNode_t_set_padding(), and uiMaterialEditorNode::updateView().
| uiNode_t* uiNode_t::parent |
Parent window, else nullptr
Definition at line 92 of file ui_nodes.h.
Referenced by uiModelNode::doLayout(), uiRadioButtonNode::draw(), uiSpinnerNode::draw(), uiFuncNode::onLoaded(), uiSpinnerNode::onMouseDown(), uiSpinnerNode::onScroll(), UI_AbstractNodeVisibilityChange(), UI_CloneNode(), UI_ConFuncIsVirtual(), UI_ContainerNodeAutoPlaceItem(), UI_DeleteNode(), UI_GenInjectedString(), UI_GetNodeAbsPos(), UI_GetNodeFromExpression(), UI_GetNodeScreenPos(), UI_GetPath(), UI_GetPrevNode(), UI_InsertNode(), UI_Invalidate(), UI_KeyPressedInWindow(), UI_LongPressCallback(), UI_MouseMove(), UI_MouseScroll(), UI_NodeAbsoluteToRelativePos(), UI_NodeRelativeToAbsolutePoint(), UI_PopWindow(), UI_ReadNodePath(), UI_RemoveNode(), UI_Shutdown(), and uiNode_t_parent().
| uiNode_t* uiNode_t::root |
Shortcut to the root node
Definition at line 93 of file ui_nodes.h.
Referenced by uiEditorNode::drawOverWindow(), uiControlNode::onCapturedMouseMove(), uiEditorNode::onMouseDown(), UI_AbstractNodeCallCreateChild(), UI_CloneNode(), UI_ContainerNodeAutoPlaceItem(), UI_CreateControl(), UI_CreateWindow(), UI_DrawModelNodeWithUIModel(), UI_EditorNodeSelectNode(), UI_GenInjectedString(), UI_GetNodeFromExpression(), UI_InsertNode(), UI_MouseDown(), UI_ParseNode(), UI_ParseWindow(), UI_PushDropDownWindow_f(), UI_ReadNodePath(), UI_RemoveNode(), UI_SetKeyBindingEx(), UI_UpdateRoot(), UI_Window_SetCloseButton(), UI_Window_SetDragButton(), and uiNode_t_root().
| vec4_t uiNode_t::selectedColor |
rgba The color to draw the line specified by textLineSelected in.
Definition at line 128 of file ui_nodes.h.
Referenced by uiButtonNode::draw(), uiMaterialEditorNode::draw(), uiOptionListNode::draw(), uiOptionTreeNode::draw(), uiRowsNode::draw(), uiTextEntryNode::draw(), uiTextListNode::drawText(), uiTextNode::drawText(), uiButtonNode::onLoading(), uiText2Node::onLoading(), uiTextEntryNode::onLoading(), uiTextListNode::onLoading(), uiTextNode::onLoading(), and uiNode_t_set_selectcolor().
| bool uiNode_t::state |
is node hovered
Definition at line 106 of file ui_nodes.h.
Referenced by uiBarNode::draw(), uiButtonNode::draw(), uiCheckBoxNode::draw(), uiImageNode::draw(), uiRadioButtonNode::draw(), uiSpinnerNode::draw(), uiTabNode::draw(), uiTextEntryNode::draw(), uiVScrollbarNode::draw(), uiTextListNode::drawText(), uiTextNode::drawText(), and uiTabNode::onLeftClick().
| uiNode_t const* uiNode_t::super |
Node inherited, else nullptr
Definition at line 84 of file ui_nodes.h.
Referenced by HUD_CheckCLHud(), uiConFuncNode::onLoaded(), uiFuncNode::onLoaded(), UI_CloneNode(), UI_CreateControl(), UI_GetNodeMethod(), and UI_SetKeyBindingEx().
| char* uiNode_t::text |
Text we want to display
Definition at line 121 of file ui_nodes.h.
Referenced by uiTextNode::doLayout(), uiButtonNode::draw(), uiStringNode::draw(), uiText2Node::draw(), uiTextEntryNode::draw(), uiTextNode::draw(), uiWindowNode::draw(), uiStringNode::drawTooltip(), uiTextEntryNode::onFocusGained(), uiTextEntryNode::onLeftClick(), uiText2Node::onLoaded(), UI_Node_GetText(), UI_Node_SetText(), UI_TextNodeGenerateLineSplit(), uiText2Node::updateCache(), uiTextNode::updateCache(), and uiTextNode::validateCache().
| char* uiNode_t::tooltip |
holds the tooltip
Definition at line 99 of file ui_nodes.h.
Referenced by uiStringNode::drawTooltip(), UI_Node_GetTooltip(), UI_Node_SetTooltip(), UI_Tooltip(), UI_Window_SetCloseButton(), and UI_Window_SetDragButton().
| struct uiAction_s* uiNode_t::visibilityCondition |
cvar condition to display/hide the node
Definition at line 112 of file ui_nodes.h.
Referenced by UI_CheckVisibility().