mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 05:54:58 +00:00
LibGUI: Add set_text(String) method to ProgressBar
This commit is contained in:
parent
3c39c18440
commit
4cb2ff1428
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ public:
|
|||
|
||||
ByteString text() const { return m_text; }
|
||||
void set_text(ByteString text) { m_text = move(text); }
|
||||
void set_text(String const& text) { m_text = ByteString(text); }
|
||||
|
||||
enum Format {
|
||||
NoText,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue