diff options
Diffstat (limited to 'scene/2d/screen_button.h')
-rw-r--r-- | scene/2d/screen_button.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scene/2d/screen_button.h b/scene/2d/screen_button.h index 0cfaf681dd..8923da2ae4 100644 --- a/scene/2d/screen_button.h +++ b/scene/2d/screen_button.h @@ -58,11 +58,12 @@ private: StringName action; bool passby_press; int finger_pressed; - int action_id; VisibilityMode visibility; - void _input(const InputEvent &p_Event); + 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); |