aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2021-05-24 06:41:39 +0200
committerdec05eba <dec05eba@protonmail.com>2021-05-24 06:41:42 +0200
commit318d230c19954c8dade052b05a9e23d5d2c53e7e (patch)
tree06c68ef252fad92a6872a58756483e8d95ada5fc /include
parent20567a9bf4d450fb65003c72c6aad6c984076d58 (diff)
Better touch flick handling, clicking and disable all shader use when using touch
Diffstat (limited to 'include')
-rw-r--r--include/Body.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/Body.hpp b/include/Body.hpp
index 2d18bdd..de7d940 100644
--- a/include/Body.hpp
+++ b/include/Body.hpp
@@ -325,11 +325,12 @@ namespace QuickMedia {
bool mouse_left_pressed = false;
bool mouse_left_clicked = false;
bool has_scrolled_with_input = false;
+ bool click_counts = false;
sf::Vector2f mouse_click_pos;
sf::Vector2f mouse_release_pos;
double mouse_press_pixels_moved_abs;
sf::Vector2f mouse_pos;
- sf::Vector2f prev_mouse_pos;
+ sf::Vector2i prev_mouse_pos_raw;
sf::Vector2i mouse_pos_raw;
sf::Vector2f mouse_scroll_accel;
sf::Vector2f body_pos;