diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-06-15 12:38:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-15 12:38:59 +0200 |
commit | b7a2a40b8e3515a359788ec8ad34e8667109a4c1 (patch) | |
tree | 19501e0865d83ed23d0c2b0c9f2b6d8893c551dc /scene/2d/screen_button.h | |
parent | f8bd4884570fafc36bbad82ec662d27276d1c7a5 (diff) | |
parent | d27d1dba23972b4ebb4869d2cd171bf78f0af342 (diff) |
Merge pull request #9176 from RandomShaper/fix-touchbutton
Fix/improve TouchScreenButton
Diffstat (limited to 'scene/2d/screen_button.h')
-rw-r--r-- | scene/2d/screen_button.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scene/2d/screen_button.h b/scene/2d/screen_button.h index e44f556c31..8923da2ae4 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); |