X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fview%2Fview-impl.cpp;h=280bd24e37a7dfaaf6e11d44471d088098d9fd7a;hb=fbbecdf7055c52aa0a68ceb5c1f5131a7a5a21ad;hp=0262bb7399f2c0400414546d526bd8d65c93341d;hpb=cd7d41bc8e0a0816da28401207091344fbbe0b2c;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/view/view-impl.cpp b/dali-toolkit/internal/controls/view/view-impl.cpp index 0262bb7..280bd24 100644 --- a/dali-toolkit/internal/controls/view/view-impl.cpp +++ b/dali-toolkit/internal/controls/view/view-impl.cpp @@ -44,7 +44,7 @@ BaseHandle Create() DALI_TYPE_REGISTRATION_BEGIN( Toolkit::View, Toolkit::Control, Create ) -DALI_SIGNAL_REGISTRATION( View, "orientation-animation-start", SIGNAL_ORIENTATION_ANIMATION_START ) +//DALI_SIGNAL_REGISTRATION( View, "orientation-animation-start", SIGNAL_ORIENTATION_ANIMATION_START ) DALI_TYPE_REGISTRATION_END() @@ -170,6 +170,7 @@ void View::SetOrientationFunction( Degree portrait, Degree landscale, Degree por void View::OrientationChanged( Dali::Orientation orientation ) { + /* Actor self = Self(); // Nothing to do if orientation doesn't really change. @@ -234,6 +235,7 @@ void View::OrientationChanged( Dali::Orientation orientation ) mOrientationAnimationStartedSignal.Emit( handle, mRotateAnimation, orientation ); mRotateAnimation.Play(); + */ } void View::SetAutoRotate( bool enabled ) @@ -248,6 +250,9 @@ Toolkit::View::OrientationAnimationStartedSignalType& View::OrientationAnimation bool View::DoConnectSignal( BaseObject* object, ConnectionTrackerInterface* tracker, const std::string& signalName, FunctorDelegate* functor ) { + return true; + + /* Dali::BaseHandle handle( object ); bool connected( true ); @@ -264,10 +269,11 @@ bool View::DoConnectSignal( BaseObject* object, ConnectionTrackerInterface* trac } return connected; + */ } View::View(bool fullscreen) -: Control( CONTROL_BEHAVIOUR_NONE ), +: Control( ControlBehaviour( ACTOR_BEHAVIOUR_NONE ) ), mOrientation( -1 ), mFullScreen(fullscreen), mContentLayers(),