LibGUI: Add set_text(String) method to ProgressBar

This commit is contained in:
Mr.UNIX 2023-12-26 19:15:57 +01:00 committed by Andrew Kaster
parent 3c39c18440
commit 4cb2ff1428
Notes: sideshowbarker 2024-07-17 06:51:10 +09:00

View file

@ -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,