[Tizen] Make Hittable and touch required function be public
[platform/core/uifw/dali-core.git] / dali / internal / event / actors / actor-impl.h
index 4557a03..308f6fa 100644 (file)
@@ -1239,6 +1239,22 @@ public:
   }
 
   /**
+   * @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.
    */
@@ -1275,15 +1291,6 @@ public:
   }
 
   /**
-   * 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.
    */
@@ -1302,16 +1309,6 @@ public:
   }
 
   /**
-   * 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
    */