uiNode_s Struct Reference

Atomic structure used to define most of the UI. More...

#include <ui_nodes.h>

Collaboration diagram for uiNode_s:
Collaboration graph
[legend]

Data Fields

char name [MAX_VAR]
struct uiBehaviour_sbehaviour
struct uiNode_ssuper
qboolean dynamic
qboolean indexed
struct uiNode_sfirstChild
struct uiNode_slastChild
struct uiNode_snext
struct uiNode_sparent
struct uiNode_sroot
vec2_t pos
vec2_t size
const char * tooltip
struct uiKeyBinding_skey
qboolean invis
qboolean disabled
qboolean invalidated
qboolean ghost
qboolean state
int padding
int align
int num
struct uiAction_svisibilityCondition
uiExcludeRect_texcludeRect
int excludeRectNum
int textalign
char * text
const char * font
void * image
int border
vec4_t bgcolor
vec4_t bordercolor
vec4_t color
vec4_t selectedColor
struct uiAction_sonClick
struct uiAction_sonRightClick
struct uiAction_sonMiddleClick
struct uiAction_sonWheel
struct uiAction_sonMouseEnter
struct uiAction_sonMouseLeave
struct uiAction_sonWheelUp
struct uiAction_sonWheelDown
struct uiAction_sonChange

Detailed Description

Atomic structure used to define most of the UI.

Definition at line 51 of file ui_nodes.h.


Field Documentation

used to identify node position into a parent using a layout manager. Else it do nothing.

Definition at line 79 of file ui_nodes.h.

Referenced by UI_BorderLayout(), UI_PackLayout(), and UI_StarLayout().

Definition at line 54 of file ui_nodes.h.

Referenced by UI_AbstractNodeClose(), UI_AbstractNodeDoLayout(), UI_AbstractNodeInit(), UI_AbstractNodePropertyChanged(), UI_AbstractOptionDoLayout(), UI_AbstractOptionGetFirstOption(), UI_AllocNode(), UI_AllocNodeWithoutNew(), UI_CloneNode(), UI_CloseAllWindow(), UI_CloseWindowByRef(), UI_ColumnLayout(), UI_ConFuncNodeClose(), UI_ConFuncNodeInit(), UI_DebugTree(), UI_DeleteNode(), UI_DNDAbort(), UI_DNDDrop(), UI_DNDMouseMove(), UI_Draw(), UI_DrawModelNode(), UI_DrawNode(), UI_EditorNodeExtractNode(), UI_FindOptionAtIndex(), UI_FindOptionByValue(), UI_FuncNodeLoaded(), UI_GenInjectedString(), UI_GetNodeAbsPos(), UI_GetNodeInTreeAtPosition(), UI_GetStringFromExpression(), UI_InitOption(), UI_InitOptionIteratorAtIndex(), UI_KeyPressed(), UI_KeyPressedInWindow(), UI_LeftClick(), UI_MiddleClick(), UI_ModelNodeLoaded(), UI_MouseDown(), UI_MouseMove(), UI_MouseRelease(), UI_MouseUp(), UI_MouseWheel(), UI_NodeAbsoluteToRelativePos(), UI_NodeInstanceOf(), UI_NodeInstanceOfPointer(), UI_NodeSetProperty(), UI_NodeSetPropertyFromRAW(), UI_NodeSetSize(), UI_OptionDoLayout(), UI_OptionTreeNodeGetFirstOption(), UI_OptionUpdateCache(), UI_PanelPropertyChanged(), UI_ParseFunction(), UI_ParseNode(), UI_ParseNodeBody(), UI_ParseNodeProperties(), UI_ParseWindow(), UI_PushWindowDelete(), UI_ReadNodePath(), UI_RemoveFocus(), UI_RequestFocus(), UI_RightClick(), UI_Shutdown(), UI_StarLayout(), UI_TabNodeDraw(), UI_TabNodeInit(), UI_TabNodeTabAtPosition(), UI_Validate(), UI_WindowNodeClose(), and UI_WindowNodeInit().

rgba

Definition at line 94 of file ui_nodes.h.

Referenced by UI_DrawNode().

border for this node - thickness in pixel - default 0 - also see bgcolor

Definition at line 93 of file ui_nodes.h.

Referenced by UI_DrawNode().

rgba - see border and padding

Definition at line 95 of file ui_nodes.h.

Referenced by UI_DrawNode().

Todo:
use a linked list of excluderect?

exclude this for hover or click functions

Definition at line 84 of file ui_nodes.h.

Referenced by UI_GetNodeInTreeAtPosition(), and UI_ParseExcludeRect().

how many consecutive exclude rects defined?

Definition at line 85 of file ui_nodes.h.

Referenced by UI_GetNodeInTreeAtPosition(), and UI_ParseExcludeRect().

const char* uiNode_s::font

Font to draw text

Definition at line 91 of file ui_nodes.h.

Referenced by UI_DrawTooltip(), UI_FontGetHeight(), UI_GetFontFromNode(), UI_ParseFont(), and UI_WindowNodeLoading().

true if the node is not tangible

Definition at line 76 of file ui_nodes.h.

Referenced by UI_GetNodeInTreeAtPosition().

If true, it use dynamic memory

Definition at line 57 of file ui_nodes.h.

Referenced by UI_InsertNode(), and UI_RemoveNode().

key bindings - used as tooltip

Definition at line 72 of file ui_nodes.h.

Referenced by UI_SetKeyBinding(), and UI_Tooltip().

last element of linked list of child

Definition at line 61 of file ui_nodes.h.

Referenced by UI_AppendNode(), UI_CloneNode(), UI_InsertNode(), UI_OptionNodeSortOptions(), and UI_RemoveNode().

char uiNode_s::name[MAX_VAR]

Definition at line 102 of file ui_nodes.h.

Referenced by UI_ImageNodeLoaded(), and UI_MiddleClick().

Definition at line 104 of file ui_nodes.h.

Referenced by UI_ImageNodeLoaded(), and UI_MouseMove().

Definition at line 105 of file ui_nodes.h.

Referenced by UI_FocusExecuteActionNode(), UI_ImageNodeLoaded(), and UI_MouseMove().

Definition at line 68 of file ui_nodes.h.

Referenced by CL_NationDrawStats(), CL_NationStatsUpdate_f(), MAP_DrawMap(), UI_AbstractScrollableNodeIsSizeChange(), UI_BarNodeCapturedMouseMove(), UI_BarNodeDraw(), UI_BaseInventoryNodeDraw2(), UI_BaseInventoryNodeDrawItems(), UI_BaseInventoryNodeGetItem(), UI_BaseLayoutNodeDraw(), UI_BaseMapGetCellAtPos(), UI_BaseMapNodeDraw(), UI_BorderLayout(), UI_ButtonNodeDraw(), UI_ButtonNodeLoaded(), UI_CheckBoxNodeDraw(), UI_ClientLayout(), UI_ColumnLayout(), UI_ContainerNodeDrawDropPreview(), UI_ContainerNodeDrawFreeSpace(), UI_ContainerNodeDrawSingle(), UI_ContainerNodeLoaded(), UI_ControlsNodeCapturedMouseMove(), UI_CustomButtonNodeDraw(), UI_DrawDisabled(), UI_DrawFree(), UI_DrawModelNode(), UI_DrawModelNodeWithUIModel(), UI_DrawNode(), UI_EditorNodeCapturedMouseMove(), UI_EditorNodeExtractNode(), UI_EditorNodeGetElementAtPosition(), UI_EditorNodeHighlightNode(), UI_EKGNodeDraw(), UI_GetActiveRenderRect(), UI_GetNodeInTreeAtPosition(), UI_ImageNodeDraw(), UI_ImageNodeLoaded(), UI_InitModelInfoView(), UI_InitRadar(), UI_ItemNodeDraw(), UI_KeyBindingNodeDraw(), UI_LineChartNodeDraw(), UI_MapNodeDraw(), UI_MaterialEditorNodeDraw(), UI_MaterialEditorNodeGetImageAtPosition(), UI_MaterialEditorNodeUpdateView(), UI_MessageListNodeDraw(), UI_ModelNodeLoaded(), UI_NodeGetPoint(), UI_NodeSetSize(), UI_OptionListNodeDraw(), UI_OptionListNodeGetOptionAtPosition(), UI_OptionListNodeUpdateScroll(), UI_OptionTreeNodeDraw(), UI_OptionTreeNodeUpdateScroll(), UI_PackLayout(), UI_PanelNodeDraw(), UI_PanelNodeLoaded(), UI_RadarNodeCapturedMouseMove(), UI_RadarNodeDraw(), UI_RadioButtonNodeDraw(), UI_RowsNodeDraw(), UI_SelectBoxNodeCapturedMouseMove(), UI_SelectBoxNodeClick(), UI_SelectBoxNodeDraw(), UI_SelectBoxNodeDrawOverWindow(), UI_SelectBoxNodeLoaded(), UI_SpinnerNodeLoaded(), UI_StarLayout(), UI_StringNodeDraw(), UI_StringNodeDrawTooltip(), UI_TabNodeDraw(), UI_TabNodeTabAtPosition(), UI_TBarNodeDraw(), UI_TextEntryNodeDraw(), UI_TextLineNodeDrawText(), UI_TextNodeDrawText(), UI_TextNodeLoaded(), UI_TodoNodeDraw(), UI_TodoNodeLoaded(), UI_TopDownFlowLayout(), UI_VideoNodeDrawOverWindow(), UI_VScrollbarNodeCapturedMouseMove(), UI_VScrollbarNodeDraw(), UI_VScrollbarNodeGetElementSize(), UI_VScrollbarNodeLoaded(), UI_VScrollbarNodeLoading(), UI_WindowNodeDoLayout(), UI_WindowNodeDraw(), UI_WindowNodeLoaded(), and UI_WindowNodeLoading().

Node inherited, else NULL

Definition at line 55 of file ui_nodes.h.

Referenced by UI_CloneNode(), and UI_ConFuncNodeLoaded().

const char* uiNode_s::tooltip

holds the tooltip

Definition at line 71 of file ui_nodes.h.

Referenced by UI_StringNodeDrawTooltip(), UI_Tooltip(), and UI_WindowNodeLoaded().

cvar condition to display/hide the node

Definition at line 81 of file ui_nodes.h.

Referenced by UI_CheckVisibility().


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

Generated by  doxygen 1.6.2