Added ImageView::OnStageConnect to pass the onstage event to the renderer.
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / internal / controls / image-view / image-view-impl.cpp
index 554469b..9f7294b 100644 (file)
@@ -222,6 +222,16 @@ void ImageView::OnStageConnection( int depth )
   }
 }
 
   }
 }
 
+void ImageView::OnStageDisconnection()
+{
+  if( mRenderer )
+  {
+    CustomActor self = Self();
+    mRenderer.SetOffStage( self );
+  }
+}
+
+
 ///////////////////////////////////////////////////////////
 //
 // Properties
 ///////////////////////////////////////////////////////////
 //
 // Properties