}
/**
+ * @copydoc Dali::DevelActor::IsHittable()
+ */
+ bool IsHittable() const
+ {
+ return (IsUserInteractionEnabled()) && IsSensitive() && IsVisible() && (GetCurrentWorldColor().a > FULLY_TRANSPARENT) && IsNodeConnected();
+ }
+
+ /**
+ * @copydoc Dali::DevelActor::GetTouchRequired()
+ */
+ bool GetTouchRequired() const
+ {
+ return !mTouchedSignal.Empty();
+ }
+
+ /**
* Set whether this view can focus by touch.
* @param[in] focusable focuable by touch.
*/
}
/**
- * Query whether the application or derived actor type requires touch events.
- * @return True if touch events are required.
- */
- bool GetTouchRequired() const
- {
- return !mTouchedSignal.Empty();
- }
-
- /**
* Query whether the application or derived actor type requires hover events.
* @return True if hover events are required.
*/
}
/**
- * Query whether the actor is actually hittable. This method checks whether the actor is
- * sensitive, has the visibility flag set to true and is not fully transparent.
- * @return true, if it can be hit, false otherwise.
- */
- bool IsHittable() const
- {
- return (IsUserInteractionEnabled()) && IsSensitive() && IsVisible() && (GetCurrentWorldColor().a > FULLY_TRANSPARENT) && IsNodeConnected();
- }
-
- /**
* Query whether the actor captures all touch after it starts even if touch leaves its boundary.
* @return true, if it captures all touch after start
*/