aboutsummaryrefslogtreecommitdiff
path: root/scene/gui/patch_9_frame.cpp
diff options
context:
space:
mode:
authorJuan Linietsky2017-01-02 23:03:46 -0300
committerJuan Linietsky2017-01-02 23:03:46 -0300
commit118eed485e8f928a5a0dab530ae93211afa10525 (patch)
tree83efb5cbcebb7046e5b64dfe1712475a7d3b7f14 /scene/gui/patch_9_frame.cpp
parentce26eb74bca48f16e9a34b4eb1c34e50dfc5daae (diff)
downloadgodot-118eed485e8f928a5a0dab530ae93211afa10525.tar.gz
godot-118eed485e8f928a5a0dab530ae93211afa10525.tar.zst
godot-118eed485e8f928a5a0dab530ae93211afa10525.zip
Diffstat (limited to 'scene/gui/patch_9_frame.cpp')
-rw-r--r--scene/gui/patch_9_frame.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/scene/gui/patch_9_frame.cpp b/scene/gui/patch_9_frame.cpp
index 2553bb952..72b8369a5 100644
--- a/scene/gui/patch_9_frame.cpp
+++ b/scene/gui/patch_9_frame.cpp
@@ -68,16 +68,16 @@ Size2 Patch9Frame::get_minimum_size() const {
void Patch9Frame::_bind_methods() {
- ObjectTypeDB::bind_method(_MD("set_texture","texture"), & Patch9Frame::set_texture );
- ObjectTypeDB::bind_method(_MD("get_texture"), & Patch9Frame::get_texture );
- ObjectTypeDB::bind_method(_MD("set_modulate","modulate"), & Patch9Frame::set_modulate );
- ObjectTypeDB::bind_method(_MD("get_modulate"), & Patch9Frame::get_modulate );
- ObjectTypeDB::bind_method(_MD("set_patch_margin","margin","value"), & Patch9Frame::set_patch_margin );
- ObjectTypeDB::bind_method(_MD("get_patch_margin","margin"), & Patch9Frame::get_patch_margin );
- ObjectTypeDB::bind_method(_MD("set_region_rect","rect"),&Patch9Frame::set_region_rect);
- ObjectTypeDB::bind_method(_MD("get_region_rect"),&Patch9Frame::get_region_rect);
- ObjectTypeDB::bind_method(_MD("set_draw_center","draw_center"), & Patch9Frame::set_draw_center );
- ObjectTypeDB::bind_method(_MD("get_draw_center"), & Patch9Frame::get_draw_center );
+ ClassDB::bind_method(_MD("set_texture","texture"), & Patch9Frame::set_texture );
+ ClassDB::bind_method(_MD("get_texture"), & Patch9Frame::get_texture );
+ ClassDB::bind_method(_MD("set_modulate","modulate"), & Patch9Frame::set_modulate );
+ ClassDB::bind_method(_MD("get_modulate"), & Patch9Frame::get_modulate );
+ ClassDB::bind_method(_MD("set_patch_margin","margin","value"), & Patch9Frame::set_patch_margin );
+ ClassDB::bind_method(_MD("get_patch_margin","margin"), & Patch9Frame::get_patch_margin );
+ ClassDB::bind_method(_MD("set_region_rect","rect"),&Patch9Frame::set_region_rect);
+ ClassDB::bind_method(_MD("get_region_rect"),&Patch9Frame::get_region_rect);
+ ClassDB::bind_method(_MD("set_draw_center","draw_center"), & Patch9Frame::set_draw_center );
+ ClassDB::bind_method(_MD("get_draw_center"), & Patch9Frame::get_draw_center );
ADD_SIGNAL(MethodInfo("texture_changed"));