From: Joogab Yun Date: Tue, 20 Apr 2021 01:04:05 +0000 (+0900) Subject: [Tizen] fix visual artifact of Transition X-Git-Tag: accepted/tizen/unified/20210422.090522^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=39f4aa574bab0f8863fe64743481816d849b8aaf;p=platform%2Fcore%2Fuifw%2Fdali-core.git [Tizen] fix visual artifact of Transition This reverts commit d3a9589f5a3fe57608c960f974b46988bf4f5d81. Change-Id: I12768665c0803847f0e019635fb948b9c607c661 --- diff --git a/dali/internal/event/actors/actor-impl.h b/dali/internal/event/actors/actor-impl.h index 959f5f9..cbaf19a 100644 --- a/dali/internal/event/actors/actor-impl.h +++ b/dali/internal/event/actors/actor-impl.h @@ -1241,12 +1241,12 @@ public: /** * @brief Set this Actor is transparent or not without any affection on the child Actors. */ - virtual void SetTransparent(bool transparent); + void SetTransparent(bool transparent); /** * @brief Get this Actor is transparent or not. */ - virtual bool GetTransparent() const; + bool GetTransparent() const; public: /** diff --git a/dali/internal/event/actors/custom-actor-internal.h b/dali/internal/event/actors/custom-actor-internal.h index ab91dfa..a70d884 100644 --- a/dali/internal/event/actors/custom-actor-internal.h +++ b/dali/internal/event/actors/custom-actor-internal.h @@ -62,22 +62,6 @@ public: */ Dali::TypeInfo GetTypeInfo(); - /** - * @copydoc Internal::CustomActorImpl::SetTransparent() - */ - void SetTransparent(bool transparent) override - { - Actor::SetTransparent(transparent); - } - - /** - * @copydoc Internal::CustomActorImpl::GetTransparent() - */ - bool GetTransparent() const override - { - return Actor::GetTransparent(); - } - protected: /** * A reference counted object may only be deleted by calling Unreference() diff --git a/dali/public-api/actors/custom-actor-impl.h b/dali/public-api/actors/custom-actor-impl.h index 9c512bd..16da6e6 100644 --- a/dali/public-api/actors/custom-actor-impl.h +++ b/dali/public-api/actors/custom-actor-impl.h @@ -268,6 +268,16 @@ public: virtual void OnLayoutNegotiated(float size, Dimension::Type dimension) = 0; /** + * @brief Set this CustomActor is transparent or not without any affection on the child Actors. + */ + void SetTransparent(bool transparent); + + /** + * @brief Get this CustomActor is transparent or not. + */ + bool GetTransparent() const; + + /** * @brief Retrieves the extension for this control. * * @SINCE_1_0.0 @@ -353,16 +363,6 @@ protected: // For derived classes */ bool RelayoutDependentOnChildrenBase(Dimension::Type dimension = Dimension::ALL_DIMENSIONS); - /** - * @brief Set this CustomActor is transparent or not without any affection on the child Actors. - */ - virtual void SetTransparent(bool transparent); - - /** - * @brief Get this CustomActor is transparent or not. - */ - virtual bool GetTransparent() const; - public: // Not intended for application developers /** * @brief Initializes a CustomActor.