diff options
| author | Juan Linietsky <reduzio@gmail.com> | 2016-09-10 17:34:27 -0300 |
|---|---|---|
| committer | Juan Linietsky <reduzio@gmail.com> | 2016-09-10 17:34:27 -0300 |
| commit | 65b93d177e334aaa11db9c6cf9350d5280a76afe (patch) | |
| tree | 69af708253e8d5d6803ad11486bf9880e1577d23 /scene/gui/dialogs.cpp | |
| parent | 2da3aaefc2509408284d77b01349231e6965ef20 (diff) | |
| download | redot-engine-65b93d177e334aaa11db9c6cf9350d5280a76afe.tar.gz | |
-Added bindings to the resource filesystem for editor
-Added set_child_rect, which was unavailable for script
Diffstat (limited to 'scene/gui/dialogs.cpp')
| -rw-r--r-- | scene/gui/dialogs.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/scene/gui/dialogs.cpp b/scene/gui/dialogs.cpp index 93e46da82b..15ff334c92 100644 --- a/scene/gui/dialogs.cpp +++ b/scene/gui/dialogs.cpp @@ -368,6 +368,7 @@ void AcceptDialog::_bind_methods() { ObjectTypeDB::bind_method(_MD("_custom_action"),&AcceptDialog::_custom_action); ObjectTypeDB::bind_method(_MD("set_text","text"),&AcceptDialog::set_text); ObjectTypeDB::bind_method(_MD("get_text"),&AcceptDialog::get_text); + ObjectTypeDB::bind_method(_MD("set_child_rect","child:Control"),&AcceptDialog::set_child_rect); ADD_SIGNAL( MethodInfo("confirmed") ); ADD_SIGNAL( MethodInfo("custom_action",PropertyInfo(Variant::STRING,"action")) ); |
