1
Fork 0
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:
Mr.UNIX 2023-12-26 19:15:57 +01:00 committed by Andrew Kaster
parent 3c39c18440
commit 4cb2ff1428

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,