diff options
Diffstat (limited to 'scene/gui/spin_box.h')
-rw-r--r-- | scene/gui/spin_box.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scene/gui/spin_box.h b/scene/gui/spin_box.h index 4c3adf30e8..9ec3885f1f 100644 --- a/scene/gui/spin_box.h +++ b/scene/gui/spin_box.h @@ -43,8 +43,9 @@ class SpinBox : public Range { Timer *range_click_timer; void _range_click_timeout(); + void _release_mouse(); - void _text_entered(const String &p_string); + void _text_submitted(const String &p_string); virtual void _value_changed(double) override; String prefix; String suffix; @@ -64,7 +65,7 @@ class SpinBox : public Range { inline void _adjust_width_for_icon(const Ref<Texture2D> &icon); protected: - void _gui_input(const Ref<InputEvent> &p_event); + virtual void gui_input(const Ref<InputEvent> &p_event) override; void _notification(int p_what); |