46 return arrow_step_ > 0.0f
64 max_ = std::max(min_v, max_v);
86 float clamped = std::clamp(
v, min_, max_);
87 if (clamped == value_)
return false;
92 float value()
const {
return value_; }
123 void clamp_value() { value_ = std::clamp(value_, min_, max_); }
124 float primary_axis_length()
const;
125 void apply_track_click(
Point local);
126 void apply_drag(
Point local);
127 bool point_in_thumb(
Point local)
const;
133 float page_size_ = 0.1f;
134 float arrow_step_ = 0.05f;
135 float page_step_ = 0.2f;
137 bool dragging_ =
false;
138 float drag_grab_offset_ = 0.0f;
Definition canvas.hpp:240
Interface for accessible values (sliders, knobs, progress bars).
Definition accessibility.hpp:16
virtual double get_step_size() const
Step increment for keyboard navigation.
Definition accessibility.hpp:36
@ scroll_bar
Definition view.hpp:992
void set_access_role(AccessRole role)
Definition view.hpp:995
void set_focusable(bool f)
Definition view.hpp:669
Definition affine_transform.hpp:24
Hover-cursor tracking for platform window hosts.
Definition fwd.hpp:27
@ s
Definition input_events.hpp:41
@ v
Definition input_events.hpp:41
@ o
Definition input_events.hpp:40
Rich key event with key code, modifiers, and repeat state.
Definition input_events.hpp:193
Rich mouse/pointer event with position, modifiers, button state, pointer ID, and stylus properties.
Definition input_events.hpp:104
Definition geometry.hpp:20