diff options
author | Juan Linietsky <reduzio@gmail.com> | 2018-07-14 18:15:42 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2018-07-14 18:16:18 -0300 |
commit | f6ce73f7245fe9cc06d942ac4c8cec44a7252c5c (patch) | |
tree | 4d2dd626030bb0a4ad22a27acb35713c5c5537bb /scene/resources/style_box.h | |
parent | 1fc7973a00e17025441b6b8333e38d1606c1d304 (diff) |
Visual Shaders are back.
Diffstat (limited to 'scene/resources/style_box.h')
-rw-r--r-- | scene/resources/style_box.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/scene/resources/style_box.h b/scene/resources/style_box.h index c1d84fe19f..ed193a1ab4 100644 --- a/scene/resources/style_box.h +++ b/scene/resources/style_box.h @@ -236,7 +236,8 @@ class StyleBoxLine : public StyleBox { Color color; int thickness; bool vertical; - float grow; + float grow_begin; + float grow_end; protected: virtual float get_style_margin(Margin p_margin) const; @@ -252,8 +253,11 @@ public: void set_vertical(bool p_vertical); bool is_vertical() const; - void set_grow(float p_grow); - float get_grow() const; + void set_grow_begin(float p_grow); + float get_grow_begin() const; + + void set_grow_end(float p_grow); + float get_grow_end() const; virtual Size2 get_center_size() const; |