///////////////////////////////////////////////////////
| 645 | |
| 646 | //////////////////////////////////////////////////////////// |
| 647 | bool isTouchDown(unsigned int finger) |
| 648 | { |
| 649 | return std::any_of(touchSlots.cbegin(), |
| 650 | touchSlots.cend(), |
| 651 | [finger](const TouchSlot& slot) { return slot.id == finger; }); |
| 652 | } |
| 653 | |
| 654 | |
| 655 | //////////////////////////////////////////////////////////// |