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

Defines the internal spacing boundaries (in pixels) for UI layout containers. More...

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

+ Collaboration diagram for Flint::UIPadding:

Public Attributes

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

Detailed Description

Defines the internal spacing boundaries (in pixels) for UI layout containers.

See also
UIPanel::measure, UIPanel::arrange

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

Member Data Documentation

◆ bottom

float Flint::UIPadding::bottom = 0.0f

Bottom internal offset in pixels.

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

◆ left

float Flint::UIPadding::left = 0.0f

Left internal offset in pixels.

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

◆ right

float Flint::UIPadding::right = 0.0f

Right internal offset in pixels.

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

◆ top

float Flint::UIPadding::top = 0.0f

Top internal offset in pixels.

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


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