diff options
| author | Gilles Roudiere | 2018-03-08 21:35:41 +0100 |
|---|---|---|
| committer | Gilles Roudiere | 2018-04-03 22:04:19 +0200 |
| commit | 72ed1e4244efbba7d7d66781b6fcbd2faec3273f (patch) | |
| tree | 23d8c8e56fb9e6a8afe10eb14ab1056d689d7d51 /scene/gui/control.h | |
| parent | 6435894275ad03911f916817704d94a0e5925425 (diff) | |
| download | godot-72ed1e4244efbba7d7d66781b6fcbd2faec3273f.tar.gz godot-72ed1e4244efbba7d7d66781b6fcbd2faec3273f.tar.zst godot-72ed1e4244efbba7d7d66781b6fcbd2faec3273f.zip | |
Remove the selection rect for nodes that do not require it
Diffstat (limited to '')
| -rw-r--r-- | scene/gui/control.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scene/gui/control.h b/scene/gui/control.h index 51325f27b..839b9eb87 100644 --- a/scene/gui/control.h +++ b/scene/gui/control.h @@ -280,6 +280,9 @@ public: virtual void _edit_set_position(const Point2 &p_position); virtual Point2 _edit_get_position() const; + virtual void _edit_set_scale(const Size2 &p_scale); + virtual Size2 _edit_get_scale() const; + virtual void _edit_set_rect(const Rect2 &p_edit_rect); virtual Rect2 _edit_get_rect() const; virtual bool _edit_use_rect() const; |
