remove dead code from shadow view (OnStageConnection & OnStageDisconnection) 39/40439/1
authorKimmo Hoikka <kimmo.hoikka@samsung.com>
Wed, 3 Jun 2015 16:21:08 +0000 (17:21 +0100)
committerKimmo Hoikka <kimmo.hoikka@samsung.com>
Wed, 3 Jun 2015 16:21:48 +0000 (17:21 +0100)
Change-Id: I53890c76dd89066be631898a1e5142c7b86d212a

dali-toolkit/internal/controls/shadow-view/shadow-view-impl.cpp
dali-toolkit/internal/controls/shadow-view/shadow-view-impl.h

index e445a65..f2fe0b9 100644 (file)
@@ -281,20 +281,6 @@ void ShadowView::OnSizeSet(const Vector3& targetSize)
 {
 }
 
-void ShadowView::OnStageConnection()
-{
-  // TODO: can't call this here, since SetImage() calls fail to connect images to stage, since parent chain not fully on stage yet
-  // Need to fix the stage connection so this callback can be used arbitrarily. At that point we  can simplify the API by removing the need for Activate() / Deactivate()
-  //Activate();
-}
-
-void ShadowView::OnStageDisconnection()
-{
-  // TODO: can't call this here, since SetImage() calls fails similarly to above
-  // Need to fix the stage connection so this callback can be used arbitrarily. At that point we  can simplify the API by removing the need for Activate() / Deactivate()
-  //Deactivate();
-}
-
 void ShadowView::ConstrainCamera()
 {
   if( mPointLight && mShadowPlane )
index cbac96e..5aa3595 100644 (file)
@@ -125,8 +125,6 @@ private:
 
   virtual void OnInitialize();
   virtual void OnSizeSet(const Vector3& targetSize);
-  virtual void OnStageConnection();
-  virtual void OnStageDisconnection();
 
   /**
    * Constrain the camera actor to the position of the point light, pointing