diff options
| author | romulox_x | 2015-01-02 20:23:52 -0800 |
|---|---|---|
| committer | romulox_x | 2015-01-02 20:23:52 -0800 |
| commit | c83a00c603c84eeac2188cae6b4986c3b86a05c6 (patch) | |
| tree | fa18e98ecbd4c922feb757008933325cc0ce38b0 /scene/gui/texture_button.h | |
| parent | fa7a3ac0d329f7e3e7ade9cd530880af2da7b7dd (diff) | |
| download | godot-c83a00c603c84eeac2188cae6b4986c3b86a05c6.tar.gz godot-c83a00c603c84eeac2188cae6b4986c3b86a05c6.tar.zst godot-c83a00c603c84eeac2188cae6b4986c3b86a05c6.zip | |
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 0209d3c26..94bc53b3f 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; |
