summaryrefslogtreecommitdiff
path: root/scene/gui/scroll_bar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui/scroll_bar.cpp')
-rw-r--r--scene/gui/scroll_bar.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/scene/gui/scroll_bar.cpp b/scene/gui/scroll_bar.cpp
index 8f68dd6921..b2ad74eaa8 100644
--- a/scene/gui/scroll_bar.cpp
+++ b/scene/gui/scroll_bar.cpp
@@ -814,11 +814,11 @@ bool ScrollBar::key(unsigned long p_unicode, unsigned long p_scan_code,bool b.pr
void ScrollBar::_bind_methods() {
- ClassDB::bind_method(_MD("_gui_input"),&ScrollBar::_gui_input);
- ClassDB::bind_method(_MD("set_custom_step","step"),&ScrollBar::set_custom_step);
- ClassDB::bind_method(_MD("get_custom_step"),&ScrollBar::get_custom_step);
- ClassDB::bind_method(_MD("_drag_slave_input"),&ScrollBar::_drag_slave_input);
- ClassDB::bind_method(_MD("_drag_slave_exit"),&ScrollBar::_drag_slave_exit);
+ ClassDB::bind_method(D_METHOD("_gui_input"),&ScrollBar::_gui_input);
+ ClassDB::bind_method(D_METHOD("set_custom_step","step"),&ScrollBar::set_custom_step);
+ ClassDB::bind_method(D_METHOD("get_custom_step"),&ScrollBar::get_custom_step);
+ ClassDB::bind_method(D_METHOD("_drag_slave_input"),&ScrollBar::_drag_slave_input);
+ ClassDB::bind_method(D_METHOD("_drag_slave_exit"),&ScrollBar::_drag_slave_exit);
ADD_PROPERTY( PropertyInfo(Variant::REAL,"custom_step",PROPERTY_HINT_RANGE,"-1,4096"), "set_custom_step","get_custom_step");