UFO: Alien Invasion
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
uiBox_t Struct Reference

#include <ui_nodes.h>

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

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

void uiBox_t::clear ( )
inline

Definition at line 54 of file ui_nodes.h.

References Vector2Clear.

Referenced by uiButtonNode::draw().

void uiBox_t::expand ( int  dist)
inline

Definition at line 64 of file ui_nodes.h.

Referenced by uiButtonNode::draw().

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

Definition at line 59 of file ui_nodes.h.

References Vector2Copy.

Referenced by uiButtonNode::draw().

Field Documentation

vec2_t uiBox_t::size

Definition at line 52 of file ui_nodes.h.

Referenced by alignBox(), uiWindowNode::doLayout(), uiModelNode::doLayout(), uiTextNode::doLayout(), uiBattleScapeNode::draw(), uiStringNode::draw(), uiVScrollbarNode::draw(), uiMaterialEditorNode::draw(), uiBaseLayoutNode::draw(), uiTBarNode::draw(), uiBarNode::draw(), uiMessageListNode::draw(), uiTextureNode::draw(), uiOptionTreeNode::draw(), uiPanelNode::draw(), uiItemNode::draw(), uiLineChartNode::draw(), uiRowsNode::draw(), uiSelectBoxNode::draw(), uiTabNode::draw(), uiButtonNode::draw(), uiOptionListNode::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(), 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(), and uiMaterialEditorNode::updateView().


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