GGUI::LayoutInput struct

Layout inputs stored per node (what BoxProps becomes).

Public variables

GGSize Width
as BoxProps
GGSize Height
as BoxProps
float Gap
as BoxProps
GGEdges Padding
as BoxProps
Direction Flow
how it places its children
GGUI::GGAlign Align
as BoxProps
GGUI::GGAlign Justify
as BoxProps
GGUI::Overflow Overflow
as BoxProps
bool bWrapText
text: wrap to the given width
bool bWrap
rows: wrap children onto further lines
GGAnchor Anchor
overlay anchor (ui.Place)
uint8_t Soft
StyledSpace bits for the gap and padding a widget set as defaults: a style may override them.
uint8_t bAbsent
bound Present is zero: out of layout and drawing (a bit: layout stays 60 bytes)

Friends

auto operator==(const LayoutInput&, const LayoutInput&) -> bool defaulted
every member equal