1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 13:47:35 +00:00

LibGUI: Store Statusbar text as String

This commit is contained in:
Karol Kosek 2023-06-04 09:46:32 +02:00 committed by Sam Atkins
parent e1e382152c
commit 2064f544c6
2 changed files with 20 additions and 17 deletions

View file

@ -51,11 +51,11 @@ public:
void set_frame_style(Gfx::FrameStyle style) { m_style = style; }
void set_restored_width(int width) { m_restored_width = width; }
int restored_width() const { return m_restored_width; }
DeprecatedString const& override_text() const { return m_override_text; }
DeprecatedString const& restored_text() const { return m_restored_text; }
Optional<String> const& override_text() const { return m_override_text; }
String const& restored_text() const { return m_restored_text; }
DeprecatedString m_override_text;
DeprecatedString m_restored_text;
Optional<String> m_override_text;
String m_restored_text;
bool m_clickable { false };
int m_restored_width { 0 };
Mode m_mode { Mode::Proportional };