summaryrefslogtreecommitdiff
path: root/scene/gui/texture_button.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/gui/texture_button.h')
-rw-r--r--scene/gui/texture_button.h6
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;