Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
aegis2d::ui::SliderConfig Struct Reference

Range, step and starting value of a Slider. More...

#include <aegis2d/ui/widgets.hpp>

Public Attributes

float min = 0.0F
 Value at the left end.
 
float max = 1.0F
 Value at the right end, above min.
 
float step = 0.1F
 How much one Left or Right moves the value, above 0.
 
float value = 0.0F
 Starting value, clamped between min and max.
 

Detailed Description

Range, step and starting value of a Slider.

Member Data Documentation

◆ max

float aegis2d::ui::SliderConfig::max = 1.0F

Value at the right end, above min.

◆ min

float aegis2d::ui::SliderConfig::min = 0.0F

Value at the left end.

◆ step

float aegis2d::ui::SliderConfig::step = 0.1F

How much one Left or Right moves the value, above 0.

◆ value

float aegis2d::ui::SliderConfig::value = 0.0F

Starting value, clamped between min and max.


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