mGraphics( nullptr ),
mDisplayConnection( nullptr ),
mDepthBufferRequired( Integration::DepthBufferAvailable::FALSE ),
- mStencilBufferRequired( Integration::StencilBufferAvailable::FALSE ),
- mBackgroundColor()
+ mStencilBufferRequired( Integration::StencilBufferAvailable::FALSE )
{}
/**
*/
virtual Integration::StencilBufferAvailable GetStencilBufferRequired() = 0;
- /**
- * @brief Sets the background color of the surface.
- * @param[in] color The new background color
- */
- virtual void SetBackgroundColor( Vector4 color ) override
- {
- mBackgroundColor = color;
- }
-
- /**
- * @brief Gets the background color of the surface.
- * @return The background color
- */
- virtual Vector4 GetBackgroundColor() override
- {
- return mBackgroundColor;
- }
-
public:
void SetAdaptor( Dali::Internal::Adaptor::AdaptorInternalServices& adaptor )
void SceneHolder::SetBackgroundColor( const Vector4& color )
{
- if ( mSurface )
+ if( mScene )
{
- mSurface->SetBackgroundColor( color );
+ mScene.SetBackgroundColor( color );
}
}
Vector4 SceneHolder::GetBackgroundColor() const
{
- return mSurface ? mSurface->GetBackgroundColor() : Vector4();
+ return mScene ? mScene.GetBackgroundColor() : Vector4();
}
void SceneHolder::SetAdaptor(Dali::Adaptor& adaptor)