| 257 | void Control::onTouchCancelled(Touch* /*touch*/, Event* /*event*/) {} |
| 258 | |
| 259 | bool Control::isTouchInside(Touch* touch) |
| 260 | { |
| 261 | Vec2 touchLocation = touch->getLocation(); // Get the touch position |
| 262 | touchLocation = this->getParent()->convertToNodeSpace(touchLocation); |
| 263 | Rect bBox = getBoundingBox(); |
| 264 | return bBox.containsPoint(touchLocation); |
| 265 | } |
| 266 | |
| 267 | Vector<Invocation*>& Control::dispatchListforControlEvent(EventType controlEvent) |
| 268 | { |
no test coverage detected