mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 10:37:45 +00:00
StringViewize a bunch of things -- mostly LibGUI
This commit is contained in:
parent
f9ba7adae2
commit
1024dfa81a
59 changed files with 129 additions and 139 deletions
|
@ -8,11 +8,11 @@ class GraphicsBitmap;
|
|||
class GLabel : public GFrame {
|
||||
public:
|
||||
explicit GLabel(GWidget* parent = nullptr);
|
||||
GLabel(const String& text, GWidget* parent = nullptr);
|
||||
GLabel(const StringView& text, GWidget* parent = nullptr);
|
||||
virtual ~GLabel() override;
|
||||
|
||||
String text() const { return m_text; }
|
||||
void set_text(const String&);
|
||||
void set_text(const StringView&);
|
||||
|
||||
void set_icon(RetainPtr<GraphicsBitmap>&&);
|
||||
const GraphicsBitmap* icon() const { return m_icon.ptr(); }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue