mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-12 19:19:30 +00:00
LibGUI: Convert GStatusBar to ObjectPtr
This commit is contained in:
parent
f4531c976c
commit
3476a63415
Notes:
sideshowbarker
2024-07-19 12:01:56 +09:00
Author: https://github.com/awesomekling
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