mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-05-05 06:32:30 +02:00
LibGUI: Convert GScrollBar to ObjectPtr
This commit is contained in:
Notes:
sideshowbarker
2024-07-19 12:02:21 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/bce58bbbca6
@@ -7,7 +7,6 @@
|
||||
class GScrollBar final : public GWidget {
|
||||
C_OBJECT(GScrollBar)
|
||||
public:
|
||||
explicit GScrollBar(Orientation, GWidget* parent);
|
||||
virtual ~GScrollBar() override;
|
||||
|
||||
Orientation orientation() const { return m_orientation; }
|
||||
@@ -39,6 +38,8 @@ public:
|
||||
};
|
||||
|
||||
private:
|
||||
explicit GScrollBar(Orientation, GWidget* parent);
|
||||
|
||||
virtual void paint_event(GPaintEvent&) override;
|
||||
virtual void mousedown_event(GMouseEvent&) override;
|
||||
virtual void mouseup_event(GMouseEvent&) override;
|
||||
|
||||
Reference in New Issue
Block a user