[Tizen] Add codes for Dali Windows Backend
[platform/core/uifw/dali-core.git] / dali / internal / event / actors / custom-actor-internal.h
index 44b3418..259b785 100644 (file)
@@ -22,6 +22,7 @@
 #include <dali/internal/event/actors/actor-impl.h>
 #include <dali/internal/event/actors/actor-declarations.h>
 #include <dali/public-api/actors/custom-actor.h>
+#include <dali/public-api/animation/animation.h>
 
 namespace Dali
 {
@@ -57,6 +58,13 @@ public:
     return *mImpl;
   }
 
+  /**
+   * Get the type info associated with this object.
+   *
+   * @return The type info
+   */
+  Dali::TypeInfo GetTypeInfo();
+
 protected:
 
   /**
@@ -69,9 +77,9 @@ private:
   /**
    * @copydoc Internal::Actor::OnStageConnectionExternal
    */
-  virtual void OnStageConnectionExternal()
+  virtual void OnStageConnectionExternal( int depth )
   {
-    mImpl->OnStageConnection();
+    mImpl->OnStageConnection( depth );
   }
 
   /**
@@ -134,6 +142,14 @@ private:
   }
 
   /**
+   * @copydoc Internal::Actor::OnHoverEvent
+   */
+  virtual bool OnHoverEvent(const HoverEvent& event)
+  {
+    return mImpl->OnHoverEvent(event);
+  }
+
+  /**
    * @copydoc Internal::Actor::OnKeyEvent
    */
   virtual bool OnKeyEvent(const KeyEvent& event)
@@ -142,19 +158,27 @@ private:
   }
 
   /**
-   * @copydoc Internal::Actor::OnMouseWheelEvent
+   * @copydoc Internal::Actor::OnWheelEvent
+   */
+  virtual bool OnWheelEvent(const WheelEvent& event)
+  {
+    return mImpl->OnWheelEvent(event);
+  }
+
+  /**
+   * @copydoc Internal::Actor::OnRelayout
    */
-  virtual bool OnMouseWheelEvent(const MouseWheelEvent& event)
+  virtual void OnRelayout( const Vector2& size, RelayoutContainer& container )
   {
-    return mImpl->OnMouseWheelEvent(event);
+    mImpl->OnRelayout( size, container );
   }
 
   /**
-   * @copydoc Internal::Actor::GetChildByAlias
+   * @copydoc Internal::Actor::OnSetResizePolicy
    */
-  virtual Dali::Actor GetChildByAlias(const std::string& actorAlias)
+  virtual void OnSetResizePolicy( ResizePolicy::Type policy, Dimension::Type dimension )
   {
-    return mImpl->GetChildByAlias(actorAlias);
+    mImpl->OnSetResizePolicy( policy, dimension );
   }
 
   /**
@@ -166,6 +190,54 @@ private:
   }
 
   /**
+   * @copydoc Internal::Actor::CalculateChildSize
+   */
+  virtual float CalculateChildSize( const Dali::Actor& child, Dimension::Type dimension )
+  {
+    return mImpl->CalculateChildSize( child, dimension );
+  }
+
+  /**
+   * @copydoc Internal::Actor::GetHeightForWidth
+   */
+  virtual float GetHeightForWidth( float width )
+  {
+    return mImpl->GetHeightForWidth( width );
+  }
+
+  /**
+   * @copydoc Internal::Actor::GetWidthForHeight
+   */
+  virtual float GetWidthForHeight( float height )
+  {
+    return mImpl->GetWidthForHeight( height );
+  }
+
+  /**
+   * @copydoc Internal::Actor::RelayoutDependentOnChildren
+   */
+  virtual bool RelayoutDependentOnChildren( Dimension::Type dimension = Dimension::ALL_DIMENSIONS )
+  {
+    return mImpl->RelayoutDependentOnChildren( dimension );
+  }
+
+  /**
+   * @copydoc Internal::Actor::OnCalculateRelayoutSize
+   */
+  virtual void OnCalculateRelayoutSize( Dimension::Type dimension )
+  {
+    return mImpl->OnCalculateRelayoutSize( dimension );
+  }
+
+  /**
+   * @copydoc Internal::Actor::OnLayoutNegotiated
+   */
+  virtual void OnLayoutNegotiated( float size, Dimension::Type dimension )
+  {
+    return mImpl->OnLayoutNegotiated( size, dimension );
+  }
+
+  /**
    * Private constructor; see also CustomActor::New()
    */
   CustomActor(CustomActorImpl& extension);