You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Remove use of _SCS from ADD_METHOD
This saves typing and is a step towards fixing #56
This commit is contained in:
@@ -754,9 +754,9 @@ void GraphNode::_bind_methods() {
|
||||
ClassDB::bind_method(_MD("set_overlay","overlay"),&GraphNode::set_overlay);
|
||||
ClassDB::bind_method(_MD("get_overlay"),&GraphNode::get_overlay);
|
||||
|
||||
ADD_PROPERTY( PropertyInfo(Variant::STRING,"title"),_SCS("set_title"),_SCS("get_title"));
|
||||
ADD_PROPERTY( PropertyInfo(Variant::BOOL,"show_close"),_SCS("set_show_close_button"),_SCS("is_close_button_visible"));
|
||||
ADD_PROPERTY( PropertyInfo(Variant::BOOL,"resizeable"),_SCS("set_resizeable"),_SCS("is_resizeable"));
|
||||
ADD_PROPERTY( PropertyInfo(Variant::STRING,"title"),"set_title","get_title");
|
||||
ADD_PROPERTY( PropertyInfo(Variant::BOOL,"show_close"),"set_show_close_button","is_close_button_visible");
|
||||
ADD_PROPERTY( PropertyInfo(Variant::BOOL,"resizeable"),"set_resizeable","is_resizeable");
|
||||
|
||||
ADD_SIGNAL(MethodInfo("offset_changed"));
|
||||
ADD_SIGNAL(MethodInfo("dragged",PropertyInfo(Variant::VECTOR2,"from"),PropertyInfo(Variant::VECTOR2,"to")));
|
||||
|
||||
Reference in New Issue
Block a user