summaryrefslogtreecommitdiff
path: root/scene/gui/range.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui/range.h')
-rw-r--r--scene/gui/range.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/scene/gui/range.h b/scene/gui/range.h
index c27eeee13c..597c50ca26 100644
--- a/scene/gui/range.h
+++ b/scene/gui/range.h
@@ -62,12 +62,14 @@ class Range : public Control {
void _validate_values();
protected:
- virtual void _value_changed(double) {}
+ virtual void _value_changed(double p_value);
static void _bind_methods();
bool _rounded_values = false;
+ GDVIRTUAL1(_value_changed, double)
+
public:
void set_value(double p_val);
void set_min(double p_min);