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(), and UI_StarLayout().
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(), uiOptionNode::doLayout(), uiAbstractOptionNode::doLayout(), uiModelNode::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_Shutdown(), UI_SpinnerNodeRepeat(), UI_TextScrollEnd(), and UI_Window_SetCloseButton().
vec4_t uiNode_t::bgcolor |
rgba
Definition at line 125 of file ui_nodes.h.
Referenced by uiBaseLayoutNode::draw(), uiBaseLayoutNode::onLoading(), and UI_DrawNode().
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().
vec4_t uiNode_t::bordercolor |
rgba - see border and padding
Definition at line 126 of file ui_nodes.h.
Referenced by UI_DrawNode().
uiBox_t uiNode_t::box |
Definition at line 96 of file ui_nodes.h.
Referenced by uiWindowNode::doLayout(), uiModelNode::doLayout(), uiTextNode::doLayout(), uiBattleScapeNode::draw(), uiStringNode::draw(), uiVScrollbarNode::draw(), uiBaseLayoutNode::draw(), uiMaterialEditorNode::draw(), uiBarNode::draw(), uiMessageListNode::draw(), uiTBarNode::draw(), uiTextureNode::draw(), uiOptionTreeNode::draw(), uiPanelNode::draw(), uiItemNode::draw(), uiLineChartNode::draw(), uiRowsNode::draw(), uiSelectBoxNode::draw(), uiTabNode::draw(), uiOptionListNode::draw(), uiButtonNode::draw(), uiRadarNode::draw(), uiCheckBoxNode::draw(), uiRadioButtonNode::draw(), uiSequenceNode::draw(), uiTextEntryNode::draw(), uiImageNode::draw(), uiWindowNode::draw(), uiGeoscapeNode::draw(), uiSpinnerNode::draw(), uiSelectBoxNode::drawOverWindow(), uiVideoNode::drawOverWindow(), uiTextListNode::drawText(), uiText2Node::drawText(), uiTextNode::drawText(), uiStringNode::drawTooltip(), uiSpinnerNode::isPositionIncrease(), uiAbstractScrollableNode::isSizeChange(), uiEditorNode::onCapturedMouseMove(), uiControlNode::onCapturedMouseMove(), uiSelectBoxNode::onCapturedMouseMove(), uiVScrollbarNode::onCapturedMouseMove(), uiBarNode::onCapturedMouseMove(), uiRadarNode::onCapturedMouseMove(), uiGeoscapeNode::onCapturedMouseMove(), uiTextEntryNode::onFocusGained(), uiSelectBoxNode::onLeftClick(), uiVScrollbarNode::onLoaded(), uiButtonNode::onLoaded(), uiImageNode::onLoaded(), uiSelectBoxNode::onLoaded(), uiText2Node::onLoaded(), uiContainerNode::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_DrawNotice(), 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(), and uiMaterialEditorNode::updateView().
vec4_t uiNode_t::color |
rgba
Definition at line 127 of file ui_nodes.h.
Referenced by uiStringNode::draw(), uiBaseLayoutNode::draw(), uiBarNode::draw(), uiOptionTreeNode::draw(), uiRowsNode::draw(), uiButtonNode::draw(), uiOptionListNode::draw(), uiTextEntryNode::draw(), uiBaseInventoryNode::draw(), uiImageNode::draw(), uiContainerNode::draw(), uiSelectBoxNode::drawOverWindow(), uiTextListNode::drawText(), uiText2Node::drawText(), uiTextNode::drawText(), GEO_DrawMarkers(), uiStringNode::onLoading(), uiMessageListNode::onLoading(), uiTextEntryNode::onLoading(), uiBarNode::onLoading(), uiBaseLayoutNode::onLoading(), uiTextListNode::onLoading(), uiButtonNode::onLoading(), uiSelectBoxNode::onLoading(), uiModelNode::onLoading(), uiText2Node::onLoading(), uiOptionTreeNode::onLoading(), uiOptionListNode::onLoading(), uiTextNode::onLoading(), uiBaseInventoryNode::onLoading(), uiContainerNode::onLoading(), uiGeoscapeNode::onLoading(), PR_RequirementsInfo(), UFO_AnalyseTestWindow(), UI_DrawModelNode(), UI_DrawModelNodeWithUIModel(), and UI_MessageDraw().
int uiNode_t::contentAlign |
Content alignment inside nodes
Definition at line 120 of file ui_nodes.h.
Referenced by uiStringNode::draw(), uiButtonNode::draw(), uiTextEntryNode::draw(), uiImageNode::draw(), uiTextListNode::drawText(), uiText2Node::drawText(), uiTextNode::drawText(), uiTextEntryNode::onLoading(), uiButtonNode::onLoading(), and uiTextListNode::onLoading().
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(), uiStringNode::draw(), uiOptionTreeNode::draw(), uiOptionListNode::draw(), uiTabNode::draw(), uiButtonNode::draw(), uiCheckBoxNode::draw(), uiRadioButtonNode::draw(), uiTextEntryNode::draw(), uiSpinnerNode::draw(), uiTextEntryNode::onLeftClick(), uiTabNode::onLeftClick(), uiCheckBoxNode::onLeftClick(), uiBarNode::onMouseDown(), uiRadarNode::onMouseDown(), uiSpinnerNode::onMouseDown(), uiSpinnerNode::onScroll(), uiCheckBoxNode::toggle(), UI_KeyPressedInWindow(), UI_LeftClick(), UI_MiddleClick(), UI_Node_IsDisabled(), UI_Node_SetDisabled(), and UI_RightClick().
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 uiStringNode::draw(), uiOptionTreeNode::draw(), uiButtonNode::draw(), uiOptionListNode::draw(), uiTextEntryNode::draw(), uiStringNode::onLoading(), uiTextEntryNode::onLoading(), uiButtonNode::onLoading(), uiOptionTreeNode::onLoading(), and uiOptionListNode::onLoading().
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 uiModelNode::clone(), 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 uiOptionNode::doLayout(), uiAbstractOptionNode::doLayout(), uiLocatedNode::doLayout(), uiOptionTreeNode::draw(), uiTabNode::draw(), MSO_InitList(), uiOptionTreeNode::onLeftClick(), uiLocatedNode::onSizeChanged(), uiNode::onWindowActivate(), uiNode::onWindowClosed(), uiTabNode::onWindowOpened(), uiNode::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_EditorNodeSelectFirstChild(), 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(), and UI_Node_IsFlashing().
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(), and uiButtonNode::onLoading().
float uiNode_t::flashSpeed |
speed of the flashing effect
Definition at line 108 of file ui_nodes.h.
Referenced by uiButtonNode::draw(), and uiButtonNode::onLoading().
char* uiNode_t::font |
Font to draw text
Definition at line 122 of file ui_nodes.h.
Referenced by uiWindowNode::onLoading(), UI_GetFontFromNode(), and UI_Node_SetFont().
bool uiNode_t::ghost |
true if the node is not tangible
Definition at line 105 of file ui_nodes.h.
Referenced by UI_GetNodeInTreeAtPosition(), and UI_Node_IsGhost().
char* uiNode_t::image |
Definition at line 123 of file ui_nodes.h.
Referenced by uiVScrollbarNode::draw(), uiSelectBoxNode::draw(), uiTextureNode::draw(), uiRadioButtonNode::draw(), uiImageNode::draw(), uiSelectBoxNode::drawOverWindow(), uiImageNode::onLoaded(), UI_Node_SetImage(), and UI_TBar_SetImage().
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 uiOptionNode::doLayout(), uiPanelNode::doLayout(), uiAbstractOptionNode::doLayout(), uiOptionTreeNode::doLayout(), uiWindowNode::doLayout(), uiLocatedNode::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(), uiOptionNode::doLayout(), uiAbstractOptionNode::doLayout(), uiTabNode::draw(), uiSelectBoxNode::onLeftClick(), UFO_AnalyseTestWindow(), UI_AbstractOption_GetFirstOption(), UI_BorderLayout(), UI_CheckMouseMove(), UI_DrawNode(), UI_FindOptionAtIndex(), UI_GetNodeInTreeAtPosition(), UI_HideNode(), UI_KeyPressedInWindow(), UI_Node_IsInvisible(), UI_OptionIteratorNextOption(), UI_OptionUpdateCache(), UI_SetOneButton(), UI_UnHideNode(), and UI_UpdateInvisOptions().
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(), uiTextListNode::onLeftClick(), uiRadioButtonNode::onLeftClick(), uiText2Node::onLeftClick(), uiTextEntryNode::onLeftClick(), uiTextNode::onLeftClick(), uiCheckBoxNode::onLeftClick(), uiLocatedNode::onLeftClick(), and UI_ConfuncCommand_f().
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(), uiTextListNode::onRightClick(), and uiLocatedNode::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(), uiFuncNode::onLoaded(), uiContainerNode::onLoaded(), uiConFuncNode::onWindowClosed(), uiCvarNode::onWindowClosed(), uiConFuncNode::onWindowOpened(), UFO_AnalyseTestWindow(), UI_AddNodeMethod(), UI_AllocNodeWithoutNew(), UI_CloneNode(), UI_CloseWindowByRef(), UI_ConFuncIsVirtual(), UI_CreateWindow(), UI_CvarListenerNodeBind(), UI_DebugListWindows_f(), UI_DebugTree(), UI_EditorNodeExtract_f(), UI_EditorNodeExtractNode(), UI_EditorNodeSelectNode(), UI_ExecuteLuaMethod_ByName(), UI_GetActiveWindowName(), UI_GetComponent(), UI_GetNode(), UI_GetNodeAbsPos(), UI_GetNodeScreenPos(), UI_GetWindow(), UI_GetWindowPositionFromStackByName(), UI_InsertComponent(), UI_InsertWindow(), UI_NodeAbsoluteToRelativePos(), UI_ParseExcludeRect(), UI_ParseNodeBody(), UI_ParseNodeProperties(), UI_ParseWindow(), UI_PopupButton(), UI_PopupList(), UI_PrintNodeTree(), UI_PushDropDownWindow_f(), UI_Restart_f(), UI_SetKeyBindingEx(), UI_SetOneButton(), UI_Shutdown(), UI_UpdateInvisOptions(), and UI_WindowNodeAddIndexedNode().
uiNode_t* uiNode_t::next |
Next element into linked list
Definition at line 91 of file ui_nodes.h.
Referenced by CL_SetRatioFilter_f(), uiOptionNode::doLayout(), uiAbstractOptionNode::doLayout(), uiLocatedNode::doLayout(), uiSelectBoxNode::draw(), uiOptionListNode::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_EditorNodeSelectNext(), 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(), uiMaterialEditorNode::onWindowOpened(), and UI_GetDataIDByName().
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(), uiTextListNode::onLeftClick(), uiRadioButtonNode::onLeftClick(), uiTextNode::onLeftClick(), uiText2Node::onLeftClick(), uiTextEntryNode::onLeftClick(), uiCheckBoxNode::onLeftClick(), uiLocatedNode::onLeftClick(), uiImageNode::onLoaded(), uiFuncNode::onLoaded(), UI_AddListener(), UI_ConfuncCommand_f(), UI_CvarListenerNodeCallback(), UI_FocusExecuteActionNode(), 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(), uiLocatedNode::onMouseLeave(), and UI_FocusExecuteActionNode().
struct uiAction_s* uiNode_t::onRightClick |
Definition at line 136 of file ui_nodes.h.
Referenced by uiImageNode::onLoaded(), uiTextListNode::onRightClick(), uiText2Node::onRightClick(), uiTextNode::onRightClick(), and uiLocatedNode::onRightClick().
struct uiAction_s* uiNode_t::onWheel |
Definition at line 138 of file ui_nodes.h.
Referenced by uiImageNode::onLoaded(), uiOptionTreeNode::onScroll(), uiMessageListNode::onScroll(), uiOptionListNode::onScroll(), uiTextNode::onScroll(), uiPanelNode::onScroll(), and uiLocatedNode::onScroll().
struct uiAction_s* uiNode_t::onWheelDown |
Definition at line 142 of file ui_nodes.h.
Referenced by uiImageNode::onLoaded(), uiOptionTreeNode::onScroll(), uiMessageListNode::onScroll(), uiOptionListNode::onScroll(), uiTextNode::onScroll(), uiPanelNode::onScroll(), and uiLocatedNode::onScroll().
struct uiAction_s* uiNode_t::onWheelUp |
Definition at line 141 of file ui_nodes.h.
Referenced by uiImageNode::onLoaded(), uiOptionTreeNode::onScroll(), uiMessageListNode::onScroll(), uiOptionListNode::onScroll(), uiTextNode::onScroll(), uiPanelNode::onScroll(), and uiLocatedNode::onScroll().
int uiNode_t::padding |
padding for this node - default 3 - see bgcolor
Definition at line 109 of file ui_nodes.h.
Referenced by uiStringNode::draw(), uiMaterialEditorNode::draw(), uiBaseLayoutNode::draw(), uiBarNode::draw(), uiOptionTreeNode::draw(), uiMessageListNode::draw(), uiOptionListNode::draw(), uiButtonNode::draw(), uiTextEntryNode::draw(), uiImageNode::draw(), uiWindowNode::draw(), uiTextListNode::drawText(), uiText2Node::drawText(), uiTextNode::drawText(), uiStringNode::drawTooltip(), uiButtonNode::onLoaded(), uiStringNode::onLoading(), uiTextEntryNode::onLoading(), uiBaseLayoutNode::onLoading(), uiButtonNode::onLoading(), uiOptionTreeNode::onLoading(), uiOptionListNode::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_TopDownFlowLayout(), 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_EditorNodeSelectParent(), UI_GenInjectedString(), UI_GetNodeAbsPos(), UI_GetNodeFromExpression(), UI_GetNodeScreenPos(), UI_GetPath(), UI_GetPrevNode(), UI_InsertNode(), UI_Invalidate(), UI_KeyPressedInWindow(), UI_LeftClick(), UI_LongPressCallback(), UI_MiddleClick(), UI_MouseMove(), UI_MouseScroll(), UI_NodeAbsoluteToRelativePos(), UI_NodeRelativeToAbsolutePoint(), UI_ReadNodePath(), UI_RemoveNode(), UI_RightClick(), 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 CL_DisplayHomebasePopup(), uiMaterialEditorNode::draw(), uiRowsNode::draw(), uiOptionTreeNode::draw(), uiOptionListNode::draw(), uiButtonNode::draw(), uiTextEntryNode::draw(), uiTextListNode::drawText(), uiTextNode::drawText(), HUD_PopupFiremodeReservation(), uiTextEntryNode::onLoading(), uiButtonNode::onLoading(), uiTextListNode::onLoading(), uiText2Node::onLoading(), and uiTextNode::onLoading().
bool uiNode_t::state |
is node hovered
Definition at line 106 of file ui_nodes.h.
Referenced by uiVScrollbarNode::draw(), uiBarNode::draw(), uiButtonNode::draw(), uiTabNode::draw(), uiCheckBoxNode::draw(), uiRadioButtonNode::draw(), uiTextEntryNode::draw(), uiImageNode::draw(), uiSpinnerNode::draw(), uiTextListNode::drawText(), uiTextNode::drawText(), uiTabNode::onLeftClick(), and UI_MouseMove().
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(), uiStringNode::draw(), uiButtonNode::draw(), uiText2Node::draw(), uiTextNode::draw(), uiTextEntryNode::draw(), uiWindowNode::draw(), uiStringNode::drawTooltip(), uiTextEntryNode::onFocusGained(), uiTextEntryNode::onLeftClick(), uiText2Node::onLoaded(), UI_AllocStaticStringCondition(), UI_Node_GetText(), UI_Node_SetText(), UI_RegisterLinkedListText(), UI_RegisterText(), 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().