LibGUI: Add set_text(String) method to ProgressBar
This commit is contained in:
parent
3c39c18440
commit
4cb2ff1428
Notes:
sideshowbarker
2024-07-17 06:51:10 +09:00
Author: https://github.com/mrunix00 Commit: https://github.com/SerenityOS/serenity/commit/4cb2ff1428 Pull-request: https://github.com/SerenityOS/serenity/pull/22442 Reviewed-by: https://github.com/ADKaster ✅
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
Reference in a new issue