mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 16:17:45 +00:00
LibGUI: Convert GStatusBar to ObjectPtr
This commit is contained in:
parent
f4531c976c
commit
3476a63415
5 changed files with 12 additions and 8 deletions
|
@ -8,15 +8,16 @@ class GResizeCorner;
|
|||
class GStatusBar : public GWidget {
|
||||
C_OBJECT(GStatusBar)
|
||||
public:
|
||||
explicit GStatusBar(GWidget* parent);
|
||||
virtual ~GStatusBar() override;
|
||||
|
||||
String text() const;
|
||||
void set_text(const StringView&);
|
||||
|
||||
private:
|
||||
protected:
|
||||
explicit GStatusBar(GWidget* parent);
|
||||
virtual void paint_event(GPaintEvent&) override;
|
||||
|
||||
private:
|
||||
ObjectPtr<GLabel> m_label;
|
||||
ObjectPtr<GResizeCorner> m_corner;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue