UFO: Alien Invasion
uiBox_t Struct Reference

#include <ui_nodes.h>

Collaboration diagram for uiBox_t:
Collaboration graph

Public Member Functions

void clear ()
 
void set (vec2_t pos, vec2_t size)
 
void expand (int dist)
 
void alignBox (uiBox_t &inner, align_t direction)
 

Data Fields

vec2_t pos
 
vec2_t size
 

Detailed Description

Definition at line 50 of file ui_nodes.h.

Member Function Documentation

◆ alignBox()

void uiBox_t::alignBox ( uiBox_t inner,
align_t  direction 
)

Align an inner box to this box.

Definition at line 698 of file ui_nodes.cpp.

References Com_Error(), ERR_FATAL, pos, and size.

Referenced by uiButtonNode::draw().

◆ clear()

void uiBox_t::clear ( )
inline

Definition at line 54 of file ui_nodes.h.

References pos, and Vector2Clear.

Referenced by uiButtonNode::draw().

◆ expand()

void uiBox_t::expand ( int  dist)
inline

Definition at line 64 of file ui_nodes.h.

References pos.

Referenced by uiButtonNode::draw().

◆ set()

void uiBox_t::set ( vec2_t  pos,
vec2_t  size 
)
inline

Definition at line 59 of file ui_nodes.h.

References pos, and Vector2Copy.

Referenced by uiButtonNode::draw().

Field Documentation

◆ pos

◆ size

vec2_t uiBox_t::size

Definition at line 52 of file ui_nodes.h.

Referenced by alignBox(), 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(), uiTextNode::drawText(), uiTextListNode::drawText(), uiText2Node::drawText(), uiStringNode::drawTooltip(), uiSpinnerNode::isPositionIncrease(), uiAbstractScrollableNode::isSizeChange(), uiBarNode::onCapturedMouseMove(), uiControlNode::onCapturedMouseMove(), uiEditorNode::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(), 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_GetNodeInTreeAtPosition(), UI_InitModelInfoView(), UI_InitRadar(), UI_LeftRightFlowLayout(), UI_MaterialEditorNodeGetImageAtPosition(), UI_NodeGetPoint(), UI_NodeSetBox(), UI_NodeSetSize(), UI_OptionListNodeGetOptionAtPosition(), UI_OptionListNodeUpdateScroll(), UI_OptionTreeNodeUpdateScroll(), UI_PackLayout(), UI_StarLayout(), UI_TabNodeTabAtPosition(), UI_TopDownFlowLayout(), UI_VScrollbarNodeGetElementSize(), UI_Window_FlagFullscreen(), UI_Window_SetCloseButton(), UI_Window_SetDragButton(), uiNode_t_height(), uiNode_t_width(), and uiMaterialEditorNode::updateView().


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