Flint Engine
Modular C++20 2D game engine powered by SDL3
Loading...
Searching...
No Matches

◆ measure()

virtual void Flint::UINode::measure ( UIConstraints constraints)
virtual

Pass 1 of the layout engine: Crawls branches recursively to compute base display boundaries requested by child assets.

Parameters
constraintsSpatial boundaries and global display density multipliers passed down by parent vectors.

Reimplemented in Flint::UIButton, Flint::UILabel, Flint::UIPanel, Flint::UISlider, and Flint::UISprite.