aboutsummaryrefslogtreecommitdiff
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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/scene/gui/texture_button.h b/scene/gui/texture_button.h
index c6b05703e..d42df390e 100644
--- a/scene/gui/texture_button.h
+++ b/scene/gui/texture_button.h
@@ -27,6 +27,7 @@
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
/*************************************************************************/
+
#ifndef TEXTURE_BUTTON_H
#define TEXTURE_BUTTON_H
@@ -57,6 +58,10 @@ private:
bool expand;
StretchMode stretch_mode;
+ Rect2 _texture_region;
+ Rect2 _position_rect;
+ bool _tile;
+
protected:
virtual Size2 get_minimum_size() const;
virtual bool has_point(const Point2 &p_point) const;