|
@@ -147,7 +147,7 @@ private:
|
|
StretchMode stretch_mode;
|
|
StretchMode stretch_mode;
|
|
StretchAspect stretch_aspect;
|
|
StretchAspect stretch_aspect;
|
|
Size2i stretch_min;
|
|
Size2i stretch_min;
|
|
- int stretch_shrink;
|
|
|
|
|
|
+ real_t stretch_shrink;
|
|
|
|
|
|
void _update_root_rect();
|
|
void _update_root_rect();
|
|
|
|
|
|
@@ -415,7 +415,7 @@ public:
|
|
void get_nodes_in_group(const StringName &p_group, List<Node *> *p_list);
|
|
void get_nodes_in_group(const StringName &p_group, List<Node *> *p_list);
|
|
bool has_group(const StringName &p_identifier) const;
|
|
bool has_group(const StringName &p_identifier) const;
|
|
|
|
|
|
- void set_screen_stretch(StretchMode p_mode, StretchAspect p_aspect, const Size2 p_minsize, int p_shrink = 1);
|
|
|
|
|
|
+ void set_screen_stretch(StretchMode p_mode, StretchAspect p_aspect, const Size2 p_minsize, real_t p_shrink = 1);
|
|
|
|
|
|
//void change_scene(const String& p_path);
|
|
//void change_scene(const String& p_path);
|
|
//Node *get_loaded_scene();
|
|
//Node *get_loaded_scene();
|