mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 19:17:44 +00:00
LibGUI: Convert GScrollBar to ObjectPtr
This commit is contained in:
parent
4616a13e94
commit
bce58bbbca
7 changed files with 11 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue