struct GUILayoutData

Contains all information that is calculated during GUI element update layout pass.

Public

Constructors

GUILayoutData

GUILayoutData()

Methods

SetWidgetDepth

void SetWidgetDepth(u8 widgetDepth)

Set widget part of element depth (Most significant part).

SetPanelDepth

void SetPanelDepth(i16 panelDepth)

Set panel part of element depth.

Less significant than widget depth but more than custom element depth.

GetWidgetDepth

u8 GetWidgetDepth() const

Retrieve widget part of element depth (Most significant part).

GetPanelDepth

i16 GetPanelDepth() const

Retrieve panel part of element depth.

Less significant than widget depth but more than custom element depth.

Fields

RelativePosition

GUILogicalPoint RelativePosition

Coordinates relative to the parent GUI element.

Set during UpdateLayout pass.

Size

GUILogicalSize Size

Size of the GUI element in pixels.

Depth

u32 Depth

DepthRangeMin

u16 DepthRangeMin

DepthRangeMax

u16 DepthRangeMax