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 5ebc282f6..8ce378c66 100644 --- a/scene/2d/screen_button.h +++ b/scene/2d/screen_button.h @@ -56,12 +56,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); |
