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:
parent
caf6dd5680
commit
6d79d932f9
2 changed files with 19 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue