diff options
author | Juan Linietsky <reduzio@gmail.com> | 2015-01-03 01:26:22 -0300 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2015-01-03 01:26:22 -0300 |
commit | eb1f978b1c1693018e9a6d353ca914f8e6586b4e (patch) | |
tree | dd33542356623a5b2c553ca5d1c5f1ef0b24ed63 /scene/gui/texture_button.h | |
parent | 60afd79a6e2354e0254c280d826bc6f12f68ffa1 (diff) | |
parent | c83a00c603c84eeac2188cae6b4986c3b86a05c6 (diff) |
Merge pull request #1101 from romulox-x/texturebutton_scale_2d
Changed texturebutton scale from float to Size2
Diffstat (limited to 'scene/gui/texture_button.h')
-rw-r--r-- | scene/gui/texture_button.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scene/gui/texture_button.h b/scene/gui/texture_button.h index 0209d3c260..94bc53b3ff 100644 --- a/scene/gui/texture_button.h +++ b/scene/gui/texture_button.h @@ -41,7 +41,7 @@ class TextureButton : public BaseButton { Ref<Texture> disabled; Ref<Texture> focused; Ref<BitMap> click_mask; - float scale; + Size2 scale; Color modulate; @@ -68,8 +68,8 @@ public: Ref<Texture> get_focused_texture() const; Ref<BitMap> get_click_mask() const; - void set_scale(float p_scale); - float get_scale() const; + void set_scale(Size2 p_scale); + Size2 get_scale() const; void set_modulate(const Color& p_modulate); Color get_modulate() const; |