diff options
Diffstat (limited to 'scene/gui/texture_frame.h')
| -rw-r--r-- | scene/gui/texture_frame.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/scene/gui/texture_frame.h b/scene/gui/texture_frame.h index c311748708..dea5b3b0ac 100644 --- a/scene/gui/texture_frame.h +++ b/scene/gui/texture_frame.h @@ -33,9 +33,9 @@ /** @author Juan Linietsky <reduzio@gmail.com> */ -class TextureFrame : public Control { +class TextureRect : public Control { - GDCLASS(TextureFrame,Control); + GDCLASS(TextureRect,Control); public: enum StretchMode { STRETCH_SCALE_ON_EXPAND, //default, for backwards compatibility @@ -69,10 +69,10 @@ public: void set_stretch_mode(StretchMode p_mode); StretchMode get_stretch_mode() const; - TextureFrame(); - ~TextureFrame(); + TextureRect(); + ~TextureRect(); }; -VARIANT_ENUM_CAST( TextureFrame::StretchMode ); +VARIANT_ENUM_CAST( TextureRect::StretchMode ); #endif // TEXTURE_FRAME_H |
