1044
#ifdef NUX_GESTURES_SUPPORT
1045
Area* Area::GetInputAreaHitByGesture(const GestureEvent &event)
1050
bool Area::IsGestureInsideArea(const nux::GestureEvent &event) const
1052
if (event.IsDirectTouch())
1054
Geometry geometry = GetAbsoluteGeometry();
1056
for (const auto touch_point : event.GetTouches())
1058
p.x = (int)touch_point.x;
1059
p.y = (int)touch_point.y;
1060
if (!geometry.IsInside(p))
1067
return GetAbsoluteGeometry().IsInside(event.GetFocus());
1071
#endif // NUX_GESTURES_SUPPORT