1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 18:17:44 +00:00

LibGUI: Implement calculated sizes for Slider

This commit is contained in:
FrHun 2023-02-10 01:08:13 +01:00 committed by Sam Atkins
parent caf6dd5680
commit 6d79d932f9
2 changed files with 19 additions and 0 deletions

View file

@ -46,6 +46,9 @@ public:
protected:
explicit Slider(Orientation = Orientation::Vertical);
virtual Optional<UISize> calculated_min_size() const override;
virtual Optional<UISize> calculated_preferred_size() const override;
virtual void paint_event(PaintEvent&) override;
void start_drag(Gfx::IntPoint);
virtual void mousedown_event(MouseEvent&) override;