GGUI::SplitProps struct

Properties of ui.Split: two panes and a divider between them.

Public variables

GGSplit Direction
float* Ratio
The first pane's share, 0..1. Written while the divider is dragged, so the caller can keep it. Null: the split keeps its own, starting at Start.
float Start
the first pane's share when Ratio is null
float Min
minimum size of either pane, UI units
GGSize Width
its width
GGSize Height
its height
std::string_view Class
divider: "split-bar"

Variable documentation

GGSplit GGUI::SplitProps::Direction

side by side, or stacked