diff --git a/examples/blocks/blocks-example.cpp b/examples/blocks/blocks-example.cpp index cc77453..ed7195f 100644 --- a/examples/blocks/blocks-example.cpp +++ b/examples/blocks/blocks-example.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2016 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,6 +25,8 @@ #include #include "shared/view.h" +#include + using namespace Dali; using namespace Dali::Toolkit; using namespace DemoHelper; @@ -742,7 +744,7 @@ private: void OnHitPaddle(PropertyNotification& source) { Actor delegate = Actor::DownCast(source.GetTarget()); - Vector3 collisionVector = delegate.GetProperty(source.GetTargetProperty()); + Vector3 collisionVector = DevelHandle::GetCurrentProperty< Vector3 >( delegate, source.GetTargetProperty() ); Vector3 ballRelativePosition(mBall.GetCurrentPosition() - mPaddle.GetCurrentPosition()); ballRelativePosition.Normalize(); @@ -777,7 +779,7 @@ private: void OnHitBrick(PropertyNotification& source) { Actor brick = Actor::DownCast(source.GetTarget()); - Vector3 collisionVector = brick.GetProperty(source.GetTargetProperty()); + Vector3 collisionVector = DevelHandle::GetCurrentProperty< Vector3 >( brick, source.GetTargetProperty() ); const float normalVelocity = fabsf(mBallVelocity.Dot(collisionVector)); mBallVelocity += collisionVector * normalVelocity * 2.0f; diff --git a/examples/video-view/video-view-example.cpp b/examples/video-view/video-view-example.cpp index b13df4e..894adf1 100644 --- a/examples/video-view/video-view-example.cpp +++ b/examples/video-view/video-view-example.cpp @@ -184,10 +184,9 @@ class VideoViewController: public ConnectionTracker Stage::GetCurrent().KeyEventSignal().Connect( this, &VideoViewController::OnKeyEvent ); - mWindowSurfaceTarget.Insert( "RENDERING_TARGET", "windowSurfaceTarget" ); - mNativeImageTarget.Insert( "RENDERING_TARGET", "nativeImageTarget" ); + mWindowSurfaceTarget.Insert( "renderingTarget", "windowSurfaceTarget" ); + mNativeImageTarget.Insert( "renderingTarget", "nativeImageTarget" ); - mVideoView.FinishedSignal().Connect( this, &VideoViewController::OnFinished ); } bool OnButtonClicked( Button button ) @@ -266,15 +265,6 @@ class VideoViewController: public ConnectionTracker return true; } - void OnFinished( VideoView& view ) - { - if( !mIsFullScreen ) - { - mRotationAnimation.Play(); - mIsStop = true; - } - } - void OnPan( Actor actor, const PanGesture& gesture ) { if( !mIsFullScreen && gesture.state == Gesture::Continuing ) diff --git a/packaging/com.samsung.dali-demo.spec b/packaging/com.samsung.dali-demo.spec index 24c944e..bfae3ab 100755 --- a/packaging/com.samsung.dali-demo.spec +++ b/packaging/com.samsung.dali-demo.spec @@ -2,7 +2,7 @@ Name: com.samsung.dali-demo Summary: The OpenGLES Canvas Core Demo -Version: 1.2.36 +Version: 1.2.37 Release: 1 Group: System/Libraries License: Apache-2.0