1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-19 15:55:08 +00:00
Commit graph

1 commit

Author SHA1 Message Date
Andreas Kling
4c0f586f2b LibGUI: Add a spinbox widget.
This is essentially a combo widget containing a single-line GTextEditor
and two buttons for increment and decrement. The GTextEditor::on_change
callback is hooked to prevent non-numeric input but it's not entirely
perfect since that callback is asynchronous. This will work until we have
some more sophisticated input validation mechanism though.
2019-04-09 16:29:00 +02:00