summaryrefslogtreecommitdiff
path: root/scene/gui/spin_box.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-02-13 15:46:17 +0100
committerGitHub <noreply@github.com>2017-02-13 15:46:17 +0100
commitea7e8c8e8699c0a0da0731f59a2ee5dfbf34d378 (patch)
tree65ed57ff55cadd49b881e248e2f87331ca5eee28 /scene/gui/spin_box.cpp
parentf6859fd31b5c3cc1a112b7f77b3c1783df8c8919 (diff)
parent411ee71b4d2dd4dfb3c137b057e0cfcdb55d6291 (diff)
Merge pull request #7795 from hpvb/rename-md-macro
Rename the _MD macro to D_METHOD
Diffstat (limited to 'scene/gui/spin_box.cpp')
-rw-r--r--scene/gui/spin_box.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/scene/gui/spin_box.cpp b/scene/gui/spin_box.cpp
index 1554f16c4d..2ad1f385db 100644
--- a/scene/gui/spin_box.cpp
+++ b/scene/gui/spin_box.cpp
@@ -253,19 +253,19 @@ bool SpinBox::is_editable() const {
void SpinBox::_bind_methods() {
- //ClassDB::bind_method(_MD("_value_changed"),&SpinBox::_value_changed);
- ClassDB::bind_method(_MD("_gui_input"),&SpinBox::_gui_input);
- ClassDB::bind_method(_MD("_text_entered"),&SpinBox::_text_entered);
- ClassDB::bind_method(_MD("set_suffix","suffix"),&SpinBox::set_suffix);
- ClassDB::bind_method(_MD("get_suffix"),&SpinBox::get_suffix);
- ClassDB::bind_method(_MD("set_prefix","prefix"),&SpinBox::set_prefix);
- ClassDB::bind_method(_MD("get_prefix"),&SpinBox::get_prefix);
- ClassDB::bind_method(_MD("set_editable","editable"),&SpinBox::set_editable);
- ClassDB::bind_method(_MD("is_editable"),&SpinBox::is_editable);
- ClassDB::bind_method(_MD("_line_edit_focus_exit"),&SpinBox::_line_edit_focus_exit);
- ClassDB::bind_method(_MD("get_line_edit"),&SpinBox::get_line_edit);
- ClassDB::bind_method(_MD("_line_edit_input"),&SpinBox::_line_edit_input);
- ClassDB::bind_method(_MD("_range_click_timeout"),&SpinBox::_range_click_timeout);
+ //ClassDB::bind_method(D_METHOD("_value_changed"),&SpinBox::_value_changed);
+ ClassDB::bind_method(D_METHOD("_gui_input"),&SpinBox::_gui_input);
+ ClassDB::bind_method(D_METHOD("_text_entered"),&SpinBox::_text_entered);
+ ClassDB::bind_method(D_METHOD("set_suffix","suffix"),&SpinBox::set_suffix);
+ ClassDB::bind_method(D_METHOD("get_suffix"),&SpinBox::get_suffix);
+ ClassDB::bind_method(D_METHOD("set_prefix","prefix"),&SpinBox::set_prefix);
+ ClassDB::bind_method(D_METHOD("get_prefix"),&SpinBox::get_prefix);
+ ClassDB::bind_method(D_METHOD("set_editable","editable"),&SpinBox::set_editable);
+ ClassDB::bind_method(D_METHOD("is_editable"),&SpinBox::is_editable);
+ ClassDB::bind_method(D_METHOD("_line_edit_focus_exit"),&SpinBox::_line_edit_focus_exit);
+ ClassDB::bind_method(D_METHOD("get_line_edit"),&SpinBox::get_line_edit);
+ ClassDB::bind_method(D_METHOD("_line_edit_input"),&SpinBox::_line_edit_input);
+ ClassDB::bind_method(D_METHOD("_range_click_timeout"),&SpinBox::_range_click_timeout);
ADD_PROPERTY(PropertyInfo(Variant::BOOL,"editable"),"set_editable","is_editable");