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

LibGUI: Allow setting and clearing text in SpinBox

This commit is contained in:
thankyouverycool 2023-05-10 17:01:19 -04:00 committed by Andreas Kling
parent 24046f9adf
commit ec29d3abae
2 changed files with 9 additions and 0 deletions

View file

@ -19,6 +19,7 @@ public:
int value() const { return m_value; }
void set_value(int, AllowCallback = AllowCallback::Yes);
void set_value_from_current_text();
void set_text(StringView, AllowCallback = AllowCallback::Yes);
int min() const { return m_min; }
int max() const { return m_max; }