}
}
-void ImageView::OnStageConnection( int depth )
-{
- if( mImage )
- {
- mImage.UploadedSignal().Emit( mImage );
- }
-
- Dali::ResourceImage resourceImage = Dali::ResourceImage::DownCast( mImage );
- if( resourceImage )
- {
- resourceImage.LoadingFinishedSignal().Emit( resourceImage );
- }
-
- Control::OnStageConnection( depth ); // Enabled visuals will be put on stage
-}
-
Vector3 ImageView::GetNaturalSize()
{
if( mVisual )
private: // From Control
/**
- * @copydoc CustomActorImpl::OnStageConnection()
- */
- virtual void OnStageConnection( int depth );
-
- /**
* @copydoc Toolkit::Control::GetNaturalSize
*/
virtual Vector3 GetNaturalSize();