X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fvisual-factory%2Fvisual-base.cpp;h=6a19c9bb96ebb3b000b8cdaea2fff37b361c5ca0;hb=50550b5dd051c5baebd26365991b50f155031dc8;hp=790a3e7f0a8f8e61c936d83137d99b2e49a23e54;hpb=d0b03f52573948c53cdca89ec5e3be201737c3bb;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/visual-factory/visual-base.cpp b/dali-toolkit/devel-api/visual-factory/visual-base.cpp index 790a3e7..6a19c9b 100644 --- a/dali-toolkit/devel-api/visual-factory/visual-base.cpp +++ b/dali-toolkit/devel-api/visual-factory/visual-base.cpp @@ -66,11 +66,16 @@ void Visual::Base::SetTransformAndSize( const Property::Map& transform, Size con GetImplementation( *this ).SetTransformAndSize( transform, controlSize ); } -float Visual::Base::GetHeightForWidth( float width ) const +float Visual::Base::GetHeightForWidth( float width ) { return GetImplementation( *this ).GetHeightForWidth( width ); } +float Visual::Base::GetWidthForHeight( float height ) +{ + return GetImplementation( *this ).GetWidthForHeight( height ); +} + void Visual::Base::GetNaturalSize(Vector2& naturalSize ) { GetImplementation( *this ).GetNaturalSize( naturalSize ); @@ -91,15 +96,8 @@ void Visual::Base::CreatePropertyMap( Property::Map& map ) const GetImplementation( *this ).CreatePropertyMap( map ); } -void Visual::Base::SetProperty( Dali::Property::Index index, const Dali::Property::Value& propertyValue ) -{ - GetImplementation( *this ).SetProperty( index, propertyValue ); -} -Dali::Property::Value Visual::Base::GetProperty( Dali::Property::Index index ) -{ - return GetImplementation( *this ).GetProperty( index ); -} + } // namespace Toolkit