///////////////////////////////////////////////////////
| 362 | |
| 363 | //////////////////////////////////////////////////////////// |
| 364 | bool isTouchDown(unsigned int finger) |
| 365 | { |
| 366 | ActivityStates& states = getActivity(); |
| 367 | const std::lock_guard lock(states.mutex); |
| 368 | |
| 369 | return states.touchEvents.find(static_cast<int>(finger)) != states.touchEvents.end(); |
| 370 | } |
| 371 | |
| 372 | |
| 373 | //////////////////////////////////////////////////////////// |