{
}
+ControlRenderer::ControlRenderer( const ControlRenderer& handle )
+: BaseHandle( handle )
+{
+}
+
+ControlRenderer& ControlRenderer::operator=( const ControlRenderer& handle )
+{
+ BaseHandle::operator=( handle );
+ return *this;
+}
+
ControlRenderer::ControlRenderer(Internal::ControlRenderer *impl)
: BaseHandle(impl)
{
GetImplementation( *this ).SetSize(size);
}
-void ControlRenderer::SetClipRect( const Rect<int>& clipRect )
+const Vector2& ControlRenderer::GetSize() const
{
- GetImplementation( *this ).SetClipRect(clipRect);
+ return GetImplementation( *this ).GetSize();
}
-void ControlRenderer::SetOffset( const Vector2& offset )
+void ControlRenderer::GetNaturalSize(Vector2& naturalSize ) const
{
- GetImplementation( *this ).SetOffset(offset);
+ GetImplementation( *this ).GetNaturalSize( naturalSize );
}
void ControlRenderer::SetDepthIndex( float index )
GetImplementation( *this ).SetDepthIndex(index);
}
+float ControlRenderer::GetDepthIndex() const
+{
+ return GetImplementation( *this ).GetDepthIndex();
+}
+
void ControlRenderer::SetOnStage( Actor& actor )
{
GetImplementation( *this ).SetOnStage(actor);
GetImplementation( *this ).SetOffStage(actor);
}
+void ControlRenderer::RemoveAndReset( Actor& actor )
+{
+ if( actor && *this )
+ {
+ SetOffStage( actor );
+ }
+ Reset();
+}
+
+void ControlRenderer::CreatePropertyMap( Property::Map& map ) const
+{
+ GetImplementation( *this ).CreatePropertyMap( map );
+}
+
} // namespace Toolkit
} // namespace Dali