3#include "../widgets/slider.h"
12 static const char* name() {
return "Slider"; }
std::function< void(gridui::Slider &)> callback_t
void addCallback(const std::string &name, const callback_t &cb)
Slider & fontSize(float fontSize)
Slider & value(float value)
Slider & color(const std::string &color)
Slider & showValue(bool showValue)
Slider & precision(float precision)
Slider & onChanged(callback_t cb)