1
0
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:
Hein-Pieter van Braam
2017-02-12 01:11:37 +01:00
parent 70b9aa379d
commit 0f687f0ccb
167 changed files with 1192 additions and 1195 deletions

View File

@@ -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");
};