25#ifndef TGUI_TWO_FINGER_SCROLL_DETECT_HPP
26#define TGUI_TWO_FINGER_SCROLL_DETECT_HPP
28#include <TGUI/Vector2.hpp>
30#if !TGUI_EXPERIMENTAL_USE_STD_MODULE
32 #include <unordered_map>
37TGUI_MODULE_EXPORT
namespace tgui
96 Vector2f calculateFingerCentroid();
101 std::unordered_map<std::intptr_t, Vector2f> m_fingerPositions;
102 Vector2f m_initialCentroidPosition;
103 Vector2f m_lastCentroidPosition;
104 bool m_trackingActive =
true;
Namespace that contains all TGUI functions and classes.
Definition AbsoluteOrRelativeValue.hpp:38