Delete Unused internal methods in Visuals 25/226925/2
authorSeungho, Baek <sbsh.baek@samsung.com>
Fri, 6 Mar 2020 09:43:38 +0000 (18:43 +0900)
committerSeungho, Baek <sbsh.baek@samsung.com>
Fri, 6 Mar 2020 09:59:36 +0000 (18:59 +0900)
Change-Id: I4aed2eb1b80bf113481fc79b616459f36721746c
Signed-off-by: Seungho, Baek <sbsh.baek@samsung.com>
dali-toolkit/internal/visuals/border/border-visual.cpp
dali-toolkit/internal/visuals/border/border-visual.h
dali-toolkit/internal/visuals/mesh/mesh-visual.h

index a64b48d..c1ba93b 100644 (file)
@@ -252,47 +252,6 @@ void BorderVisual::InitializeRenderer()
   mImpl->mTransform.RegisterUniforms( mImpl->mRenderer, Direction::LEFT_TO_RIGHT );
 }
 
-void BorderVisual::SetBorderColor(const Vector4& color)
-{
-  mBorderColor = color;
-
-  if( mImpl->mRenderer )
-  {
-    (mImpl->mRenderer).SetProperty( mBorderColorIndex, color );
-    if( color.a < 1.f )
-    {
-      mImpl->mRenderer.SetProperty( Renderer::Property::BLEND_MODE, BlendMode::ON );
-    }
-  }
-}
-
-void BorderVisual::SetBorderSize( float size )
-{
-  mBorderSize = size;
-
-  if( mImpl->mRenderer )
-  {
-    (mImpl->mRenderer).SetProperty( mBorderSizeIndex, size );
-  }
-}
-
-void BorderVisual::RequireAntiAliasing( bool antiAliasing )
-{
-  if( mAntiAliasing != antiAliasing )
-  {
-    mAntiAliasing = antiAliasing;
-    if( mImpl->mRenderer )
-    {
-      Shader borderShader( GetBorderShader() );
-      mImpl->mRenderer.SetShader( borderShader );
-      if( mAntiAliasing )
-      {
-        mImpl->mRenderer.SetProperty( Renderer::Property::BLEND_MODE, BlendMode::ON );
-      }
-    }
-  }
-}
-
 Shader BorderVisual::GetBorderShader()
 {
   Shader shader;
index db4ddb0..c28b041 100644 (file)
@@ -100,26 +100,6 @@ protected:
    */
   void OnSetTransform() override;
 
-public:
-
-  /**
-   * Set the color of the border.
-   * @param[in] color The border color.
-   */
-  void SetBorderColor( const Vector4& color);
-
-  /**
-   * Set the size of the border.
-   * @param[in] size The border size.
-   */
-  void SetBorderSize( float size );
-
-  /**
-   * Enable/Disable the anti-aliasing.
-   * @param[in] enable Whether the anti-aliasing be enabled or not.
-   */
-  void RequireAntiAliasing( bool antiAliasing );
-
 private:
 
   /**
index 99ed559..15099bd 100644 (file)
@@ -109,20 +109,6 @@ protected:
    */
   void DoSetOnStage( Actor& actor ) override;
 
-public:
-
-  /**
-   * Declare whether a texture map should be used for the object, if it's present. Defaults to true.
-   * @param[in] useTexture boolean declaration.
-   */
-  void SetUseTexture( bool useTexture );
-
-  /**
-   * Declare whether a normal map should be used for the object, if it's present. Defaults to true.
-   * @param[in] useNormalMap boolean declaration.
-   */
-  void SetUseNormalMap( bool useNormalMap );
-
 private:
 
   /**