diff options
Diffstat (limited to 'scene/2d/screen_button.h')
-rw-r--r-- | scene/2d/screen_button.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scene/2d/screen_button.h b/scene/2d/screen_button.h index 34e02d644b..a2df03204f 100644 --- a/scene/2d/screen_button.h +++ b/scene/2d/screen_button.h @@ -51,12 +51,16 @@ private: StringName action; bool passby_press; int finger_pressed; + bool allow_repress; int action_id; VisibilityMode visibility; void _input(const InputEvent& p_Event); + void _press(int p_finger_pressed); + void _release(bool p_exiting_tree=false); + protected: void _notification(int p_what); |