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

Visual properties defining the slider track, fill area, and thumb indicator. More...

#include <flint/ui/widgets/slider.h>

+ Collaboration diagram for Flint::UISlider::SliderStyle:

Public Attributes

float trackHeight = 6.f
 
float thumbWidth = 8.f
 
float thumbHeight = 6.f
 
Color trackColor = {70, 70, 70, 255}
 
Color fillColor = {180, 180, 180, 255}
 
Color thumbColor = {230, 230, 230, 255}
 

Detailed Description

Visual properties defining the slider track, fill area, and thumb indicator.

Definition at line 32 of file slider.h.

Member Data Documentation

◆ fillColor

Color Flint::UISlider::SliderStyle::fillColor = {180, 180, 180, 255}

Definition at line 37 of file slider.h.

◆ thumbColor

Color Flint::UISlider::SliderStyle::thumbColor = {230, 230, 230, 255}

Definition at line 38 of file slider.h.

◆ thumbHeight

float Flint::UISlider::SliderStyle::thumbHeight = 6.f

Definition at line 35 of file slider.h.

◆ thumbWidth

float Flint::UISlider::SliderStyle::thumbWidth = 8.f

Definition at line 34 of file slider.h.

◆ trackColor

Color Flint::UISlider::SliderStyle::trackColor = {70, 70, 70, 255}

Definition at line 36 of file slider.h.

◆ trackHeight

float Flint::UISlider::SliderStyle::trackHeight = 6.f

Definition at line 33 of file slider.h.


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