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

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.
This commit is contained in:
Andreas Kling 2019-04-09 16:29:00 +02:00
parent 4ba5e472be
commit 4c0f586f2b
4 changed files with 115 additions and 14 deletions

View file

@ -63,6 +63,7 @@ LIBGUI_OBJS = \
GHttpRequest.o \
GHttpResponse.o \
GHttpJob.o \
GSpinBox.o \
GWindow.o
OBJS = $(SHAREDGRAPHICS_OBJS) $(LIBGUI_OBJS)