Reduce ImageActor & RenderableActor APIs
[platform/core/uifw/dali-core.git] / dali / public-api / actors / renderable-actor.cpp
index 0f72467..5dec5b4 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2015 Samsung Electronics Co., Ltd.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -51,13 +51,6 @@ RenderableActor& RenderableActor::operator=(const RenderableActor& rhs)
   return *this;
 }
 
-RenderableActor& RenderableActor::operator=(BaseHandle::NullType* rhs)
-{
-  DALI_ASSERT_ALWAYS( (rhs == NULL) && "Can only assign NULL pointer to handle");
-  Reset();
-  return *this;
-}
-
 void RenderableActor::SetSortModifier(float modifier)
 {
   GetImplementation(*this).SetSortModifier(modifier);
@@ -88,11 +81,6 @@ BlendingMode::Type RenderableActor::GetBlendMode() const
   return GetImplementation(*this).GetBlendMode();
 }
 
-void RenderableActor::SetBlendFunc( BlendingFactor::Type srcFactorRgba, BlendingFactor::Type destFactorRgba )
-{
-  GetImplementation(*this).SetBlendFunc( srcFactorRgba, destFactorRgba );
-}
-
 void RenderableActor::SetBlendFunc( BlendingFactor::Type srcFactorRgb,   BlendingFactor::Type destFactorRgb,
                                     BlendingFactor::Type srcFactorAlpha, BlendingFactor::Type destFactorAlpha )
 {
@@ -105,31 +93,6 @@ void RenderableActor::GetBlendFunc( BlendingFactor::Type& srcFactorRgb,   Blendi
   GetImplementation(*this).GetBlendFunc( srcFactorRgb, destFactorRgb, srcFactorAlpha, destFactorAlpha );
 }
 
-void RenderableActor::SetBlendEquation( BlendingEquation::Type equationRgba )
-{
-  GetImplementation(*this).SetBlendEquation( equationRgba );
-}
-
-void RenderableActor::SetBlendEquation( BlendingEquation::Type equationRgb, BlendingEquation::Type equationAlpha )
-{
-  GetImplementation(*this).SetBlendEquation( equationRgb, equationAlpha );
-}
-
-void RenderableActor::GetBlendEquation( BlendingEquation::Type& equationRgb, BlendingEquation::Type& equationAlpha ) const
-{
-  GetImplementation(*this).GetBlendEquation( equationRgb, equationAlpha );
-}
-
-void RenderableActor::SetBlendColor( const Vector4& color )
-{
-  GetImplementation(*this).SetBlendColor( color );
-}
-
-const Vector4& RenderableActor::GetBlendColor() const
-{
-  return GetImplementation(*this).GetBlendColor();
-}
-
 void RenderableActor::SetFilterMode( FilterMode::Type minFilter, FilterMode::Type magFilter )
 {
   GetImplementation(*this).SetFilterMode( minFilter, magFilter );