ZenitUI
Retained-mode C++20 UI framework
Loading...
Searching...
No Matches
Slider.hpp File Reference

A horizontal value slider in [0, 1]. More...

#include "Common.hpp"
#include "Layout.hpp"

Go to the source code of this file.

Classes

class  ZenitUI::UI::Slider
 A [0, 1] slider with keyboard and pointer control. More...

Detailed Description

A horizontal value slider in [0, 1].

Drawn entirely by renderContent: a rounded track, a rounded fill, and a circular knob. The three pieces can be styled independently through the ::track, ::fill and ::knob pseudo-elements.