mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 00:27:45 +00:00
LibGUI: Add on_return_pressed function to SpinBox
This commit is contained in:
parent
f9940390a3
commit
abaecb878b
2 changed files with 5 additions and 0 deletions
|
@ -26,6 +26,7 @@ public:
|
|||
void set_range(int min, int max, AllowCallback = AllowCallback::Yes);
|
||||
|
||||
Function<void(int value)> on_change;
|
||||
Function<void()> on_return_pressed;
|
||||
|
||||
protected:
|
||||
SpinBox();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue