1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-16 14:00:40 +00:00

-Conversion of most properties to a simpler syntax, easier to use by script

-Modified help to display properties

GDScript can still not make use of them, though.
This commit is contained in:
Juan Linietsky
2017-01-04 01:16:14 -03:00
parent 3fae505128
commit b085c40edf
105 changed files with 1858 additions and 1024 deletions

View File

@@ -68,7 +68,7 @@ void OutputStrings::_notification(int p_what) {
if (following) {
updating=true;
v_scroll->set_val( v_scroll->get_max() - v_scroll->get_page() );
v_scroll->set_value( v_scroll->get_max() - v_scroll->get_page() );
updating=false;
}
@@ -85,8 +85,8 @@ void OutputStrings::_notification(int p_what) {
// int lines = (size_height-(int)margin.y) / font_height;
Point2 ofs=tree_st->get_offset();
LineMap::Element *E = line_map.find(v_scroll->get_val());
float h_ofs = (int)h_scroll->get_val();
LineMap::Element *E = line_map.find(v_scroll->get_value());
float h_ofs = (int)h_scroll->get_value();
Point2 icon_ofs=Point2(0,(font_height-(int)icon_error->get_height())/2);
while( E && ofs.y < (size_height-(int)margin.y) ) {