summaryrefslogtreecommitdiff
path: root/scene/gui/tabs.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/tabs.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/tabs.cpp')
-rw-r--r--scene/gui/tabs.cpp26
1 files changed, 13 insertions, 13 deletions
diff --git a/scene/gui/tabs.cpp b/scene/gui/tabs.cpp
index cd6d9989a0..ae282165c2 100644
--- a/scene/gui/tabs.cpp
+++ b/scene/gui/tabs.cpp
@@ -649,19 +649,19 @@ void Tabs::set_tab_close_display_policy(CloseButtonDisplayPolicy p_policy) {
void Tabs::_bind_methods() {
- ClassDB::bind_method(_MD("_gui_input"),&Tabs::_gui_input);
- ClassDB::bind_method(_MD("get_tab_count"),&Tabs::get_tab_count);
- ClassDB::bind_method(_MD("set_current_tab","tab_idx"),&Tabs::set_current_tab);
- ClassDB::bind_method(_MD("get_current_tab"),&Tabs::get_current_tab);
- ClassDB::bind_method(_MD("set_tab_title","tab_idx","title"),&Tabs::set_tab_title);
- ClassDB::bind_method(_MD("get_tab_title","tab_idx"),&Tabs::get_tab_title);
- ClassDB::bind_method(_MD("set_tab_icon","tab_idx","icon:Texture"),&Tabs::set_tab_icon);
- ClassDB::bind_method(_MD("get_tab_icon:Texture","tab_idx"),&Tabs::get_tab_icon);
- ClassDB::bind_method(_MD("remove_tab","tab_idx"),&Tabs::remove_tab);
- ClassDB::bind_method(_MD("add_tab","title","icon:Texture"),&Tabs::add_tab);
- ClassDB::bind_method(_MD("set_tab_align","align"),&Tabs::set_tab_align);
- ClassDB::bind_method(_MD("get_tab_align"),&Tabs::get_tab_align);
- ClassDB::bind_method(_MD("ensure_tab_visible","idx"),&Tabs::ensure_tab_visible);
+ ClassDB::bind_method(D_METHOD("_gui_input"),&Tabs::_gui_input);
+ ClassDB::bind_method(D_METHOD("get_tab_count"),&Tabs::get_tab_count);
+ ClassDB::bind_method(D_METHOD("set_current_tab","tab_idx"),&Tabs::set_current_tab);
+ ClassDB::bind_method(D_METHOD("get_current_tab"),&Tabs::get_current_tab);
+ ClassDB::bind_method(D_METHOD("set_tab_title","tab_idx","title"),&Tabs::set_tab_title);
+ ClassDB::bind_method(D_METHOD("get_tab_title","tab_idx"),&Tabs::get_tab_title);
+ ClassDB::bind_method(D_METHOD("set_tab_icon","tab_idx","icon:Texture"),&Tabs::set_tab_icon);
+ ClassDB::bind_method(D_METHOD("get_tab_icon:Texture","tab_idx"),&Tabs::get_tab_icon);
+ ClassDB::bind_method(D_METHOD("remove_tab","tab_idx"),&Tabs::remove_tab);
+ ClassDB::bind_method(D_METHOD("add_tab","title","icon:Texture"),&Tabs::add_tab);
+ ClassDB::bind_method(D_METHOD("set_tab_align","align"),&Tabs::set_tab_align);
+ ClassDB::bind_method(D_METHOD("get_tab_align"),&Tabs::get_tab_align);
+ ClassDB::bind_method(D_METHOD("ensure_tab_visible","idx"),&Tabs::ensure_tab_visible);
ADD_SIGNAL(MethodInfo("tab_changed",PropertyInfo(Variant::INT,"tab")));
ADD_SIGNAL(MethodInfo("right_button_pressed",PropertyInfo(Variant::INT,"tab")));