mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 03:08:13 +00:00
LibGUI: Add callbacks for Slider drags starting and ending
This commit is contained in:
parent
fa98c43c0d
commit
d9a73bbc96
2 changed files with 11 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue