You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-12-04 17:04:49 +00:00
Remove use of _SCS from ADD_METHOD
This saves typing and is a step towards fixing #56
This commit is contained in:
@@ -472,8 +472,8 @@ void ScrollContainer::_bind_methods() {
|
||||
ClassDB::bind_method(_MD("get_v_scroll"),&ScrollContainer::get_v_scroll);
|
||||
|
||||
ADD_GROUP("Scroll","scroll_");
|
||||
ADD_PROPERTY( PropertyInfo( Variant::BOOL, "scroll_horizontal"), _SCS("set_enable_h_scroll"),_SCS("is_h_scroll_enabled"));
|
||||
ADD_PROPERTY( PropertyInfo( Variant::BOOL, "scroll_vertical"), _SCS("set_enable_v_scroll"),_SCS("is_v_scroll_enabled"));
|
||||
ADD_PROPERTY( PropertyInfo( Variant::BOOL, "scroll_horizontal"), "set_enable_h_scroll","is_h_scroll_enabled");
|
||||
ADD_PROPERTY( PropertyInfo( Variant::BOOL, "scroll_vertical"), "set_enable_v_scroll","is_v_scroll_enabled");
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user