summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibGUI/SpinBox.h
diff options
context:
space:
mode:
authorAndrew Smith <andrew@alsmith.net>2022-03-08 21:07:32 -0600
committerAndreas Kling <kling@serenityos.org>2022-05-23 00:12:19 +0200
commitabaecb878b44a7f56fc1d8e1eb6391739f7389ea (patch)
tree8d7b7ea045e3a3f67497d46f76f16bd13b431a0c /Userland/Libraries/LibGUI/SpinBox.h
parentf9940390a35c2217a159d21699a1030acf707b13 (diff)
downloadserenity-abaecb878b44a7f56fc1d8e1eb6391739f7389ea.zip
LibGUI: Add on_return_pressed function to SpinBox
Diffstat (limited to 'Userland/Libraries/LibGUI/SpinBox.h')
-rw-r--r--Userland/Libraries/LibGUI/SpinBox.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Userland/Libraries/LibGUI/SpinBox.h b/Userland/Libraries/LibGUI/SpinBox.h
index cdd0849ec4..79a3f80125 100644
--- a/Userland/Libraries/LibGUI/SpinBox.h
+++ b/Userland/Libraries/LibGUI/SpinBox.h
@@ -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();