13#if defined(LECUI_EXPORTS)
16#include <liblec/lecui/widgets/widget.h>
36 float maximum = 100.f;
43 color _color_knob_hot;
44 color _color_knob_border;
46 bool _snap_to_ticks =
true;
47 bool _show_tick_marks =
true;
48 bool _show_tick_labels =
true;
50 float _knob_radius = 8.f;
51 float _slide_thickness = 6.f;
52 float _major_tick_unit = 25.f;
53 long _minor_tick_count = 4;
59 _cursor = cursor_type::hand;
60 _rect.size({ 200.f, 35.f });
67 std::function<void(
float value)>
slider =
nullptr;
73 return _slider_events;
92 std::string&
text()
override;
365#if defined(lecui_helper)
367#define get_slider(path) liblec::lecui::widgets::slider::get(*this, path)
RGBA color on a standard 0 to 255 scale. For the alpha channel 0 is transparent and 255 is opaque.
Definition: lecui.h:583
Page container.
Definition: page.h:32
Rectangle class.
Definition: lecui.h:158
Resize parameters.
Definition: lecui.h:363
Top level namespace for the liblec libraries.
Definition: appearance.h:19