return ImageView( imageView );
}
-ImageView ImageView::New( const std::string& url )
+ImageView ImageView::New( const std::string& url,
+ ImageDimensions size)
{
ImageView imageView = Internal::ImageView::New();
- imageView.SetImage( url );
+ imageView.SetImage( url, size );
return imageView;
}
Dali::Toolkit::GetImpl( *this ).SetImage( image );
}
-void ImageView::SetImage( const std::string& url )
+void ImageView::SetImage( const std::string& url,
+ ImageDimensions size )
{
- Dali::Toolkit::GetImpl( *this ).SetImage( url );
+ Dali::Toolkit::GetImpl( *this ).SetImage( url, size );
}
Image ImageView::GetImage() const