[Tizen] fix visual artifact of Transition accepted/tizen/unified/20210429.101129 submit/tizen/20210428.131742 submit/tizen/20210428.144547 submit/tizen/20210429.005248
authorSunghyun Kim <scholb.kim@samsung.com>
Mon, 26 Apr 2021 06:38:18 +0000 (15:38 +0900)
committerSunghyun Kim <scholb.kim@samsung.com>
Mon, 26 Apr 2021 06:38:23 +0000 (15:38 +0900)
This reverts commit 3059eb69f466ca924740bd4b94628bc4230c75db.

Change-Id: Idd70b4ea7c6129e36af6164fa85ca6c4620ff4e6

dali/internal/event/actors/actor-impl.h
dali/internal/event/actors/custom-actor-internal.h
dali/public-api/actors/custom-actor-impl.h

index c4b5b85..b6964cb 100644 (file)
@@ -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:
   /**
index ab91dfa..a70d884 100644 (file)
@@ -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()
index 9c512bd..16da6e6 100644 (file)
@@ -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.