summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/Slider.h
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Libraries/LibGUI/Slider.h')
-rw-r--r--Userland/Libraries/LibGUI/Slider.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGUI/Slider.h b/Userland/Libraries/LibGUI/Slider.h
index 56be2641eb..a2f3cfd800 100644
--- a/Userland/Libraries/LibGUI/Slider.h
+++ b/Userland/Libraries/LibGUI/Slider.h
@@ -40,6 +40,9 @@ public:
return rect().shrunken(0, track_margin() * 2);
}
+ Function<void()> on_drag_start;
+ Function<void()> on_drag_end;
+
protected:
explicit Slider(Orientation = Orientation::Vertical);