aboutsummaryrefslogtreecommitdiff
path: root/scene/2d/screen_button.h
diff options
context:
space:
mode:
authorPedro J. Estébanez2017-06-14 17:08:35 +0200
committerPedro J. Estébanez2017-06-14 17:19:58 +0200
commitd27d1dba23972b4ebb4869d2cd171bf78f0af342 (patch)
treef1950e44a9e9464aee33f25993524acf09af6f19 /scene/2d/screen_button.h
parentb7117ffda076a4ea5b6171ef23939cf89490990f (diff)
downloadgodot-d27d1dba23972b4ebb4869d2cd171bf78f0af342.tar.gz
godot-d27d1dba23972b4ebb4869d2cd171bf78f0af342.tar.zst
godot-d27d1dba23972b4ebb4869d2cd171bf78f0af342.zip
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 e44f556c3..8923da2ae 100644
--- a/scene/2d/screen_button.h
+++ b/scene/2d/screen_button.h
@@ -63,6 +63,8 @@ private:
void _input(const Ref<InputEvent> &p_Event);
+ bool _is_point_inside(const Point2 &p_point);
+
void _press(int p_finger_pressed);
void _release(bool p_exiting_tree = false);