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

Represents the boundary budget passed down the node tree during layout allocation. More...

#include <flint/ui/ui-types.h>

+ Collaboration diagram for Flint::UIConstraints:

Public Attributes

Vec2f minSize {}
 
Vec2f maxSize {}
 
float scale = 1.f
 
UICanvas * canvas
 

Detailed Description

Represents the boundary budget passed down the node tree during layout allocation.

Note
Created by the context root and modified by parent containers before measuring children.
See also
UINode::measure, UIPanel::measure, UIButton::measure, UILabel::measure

Definition at line 76 of file ui-types.h.


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