X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fevent%2Factors%2Factor-impl.h;h=b233dec8360bbaa9353ceae090ed714a35553a6e;hb=55827866fcb8c7ee47581ac4335a3390472090e8;hp=c98701adf570a81ebc3b3bab8509e8f0f37ce5fd;hpb=495a0b458eee7b6fe628b7b57fbed16654aae578;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/event/actors/actor-impl.h b/dali/internal/event/actors/actor-impl.h index c98701a..b233dec 100755 --- a/dali/internal/event/actors/actor-impl.h +++ b/dali/internal/event/actors/actor-impl.h @@ -54,6 +54,7 @@ class ActorGestureData; class Animation; class RenderTask; class Renderer; +class Scene; typedef std::vector< ActorPtr > ActorContainer; typedef ActorContainer::iterator ActorIter; @@ -1220,6 +1221,18 @@ public: float GetMaximumSize( Dimension::Type dimension ) const; /** + * @brief Sets the update size hint of an actor for partial update. + * @param [in] updateSizeHint The new updateSizeHint. + */ + void SetUpdateSizeHint( const Vector2& updateSizeHint ); + + /** + * @brief Return the update size hint of actor + * @return Return the update size hint + */ + const Vector2 GetUpdateSizeHint() const; + + /** * @copydoc Dali::Actor::AddRenderer() */ uint32_t AddRenderer( Renderer& renderer ); @@ -1705,6 +1718,20 @@ public: */ void LowerBelow( Internal::Actor& target ); +public: + + /** + * Sets the scene which this actor is added to. + * @param[in] scene The scene + */ + void SetScene( Scene& scene ); + + /** + * Gets the scene which this actor is added to. + * @return The scene + */ + Scene& GetScene() const; + private: struct SendMessage @@ -1913,6 +1940,8 @@ private: protected: + Scene* mScene; ///< The scene the actor is added to + Actor* mParent; ///< Each actor (except the root) can have one parent ActorContainer* mChildren; ///< Container of referenced actors, lazily initialized RendererContainer* mRenderers; ///< Renderer container