summaryrefslogtreecommitdiff
path: root/scene/2d/screen_button.h
diff options
context:
space:
mode:
Diffstat (limited to 'scene/2d/screen_button.h')
-rw-r--r--scene/2d/screen_button.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/2d/screen_button.h b/scene/2d/screen_button.h
index ad558bb9ec..b2fafcc93d 100644
--- a/scene/2d/screen_button.h
+++ b/scene/2d/screen_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 SCREEN_BUTTON_H
#define SCREEN_BUTTON_H
@@ -103,6 +104,7 @@ public:
bool is_pressed() const;
Rect2 _edit_get_rect() const;
+ virtual bool _edit_use_rect() const;
TouchScreenButton();
};