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

Defines the exterior boundaries (in pixels) surrounding a UI element. More...

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

+ Collaboration diagram for Flint::UIMargin:

Public Attributes

float top = 0.0f
 
float left = 0.0f
 
float right = 0.0f
 
float bottom = 0.0f
 

Detailed Description

Defines the exterior boundaries (in pixels) surrounding a UI element.

See also
UIPanel::measure, UIPanel::arrange

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


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