1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 15:57:45 +00:00

LibGUI: Rename ProgressBar property caption => text and expose to GML

This commit is contained in:
Andreas Kling 2020-12-20 12:29:40 +01:00
parent 92afdd0c86
commit de08e7b8c9
4 changed files with 6 additions and 5 deletions

View file

@ -44,8 +44,8 @@ public:
int min() const { return m_min; }
int max() const { return m_max; }
String caption() const { return m_caption; }
void set_caption(const StringView& caption) { m_caption = caption; }
String text() const { return m_text; }
void set_text(String text) { m_text = move(text); }
enum Format {
NoText,
@ -65,7 +65,7 @@ private:
int m_min { 0 };
int m_max { 100 };
int m_value { 0 };
String m_caption;
String m_text;
};
}