diff --git a/examples/pre-render-callback/pre-render-callback-example.cpp b/examples/pre-render-callback/pre-render-callback-example.cpp index 9447f9b..c4ad1c9 100644 --- a/examples/pre-render-callback/pre-render-callback-example.cpp +++ b/examples/pre-render-callback/pre-render-callback-example.cpp @@ -50,7 +50,15 @@ public: mTapDetector(), mKeepPreRender(false), mRotateTextCharacter(0), - mLastRTC(-1) + mLastRTC(-1), + mImageActor1(), + mImageActor2(), + mImageActor3(), + mAngle1Index( Property::INVALID_INDEX ), + mAngle3Index( Property::INVALID_INDEX ), + mSceneActor(), + mSceneAnimation(), + mSpinner() { // Connect to the Application's Init signal mApplication.InitSignal().Connect( this, &PreRenderCallbackController::Create ); diff --git a/examples/simple-layout/custom-layout-impl.cpp b/examples/simple-layout/custom-layout-impl.cpp index 132c1fa..ecdb932 100644 --- a/examples/simple-layout/custom-layout-impl.cpp +++ b/examples/simple-layout/custom-layout-impl.cpp @@ -66,8 +66,7 @@ void CustomLayout::OnLayout( bool changed, LayoutLength left, LayoutLength top, LayoutLength childLeft( 0 ); // We want to vertically align the children to the middle - LayoutLength height = bottom - top; - LayoutLength middle = height / 2; + LayoutLength middle = (bottom - top) / 2; // Horizontally align the children to the middle of the space they are given too LayoutLength width = right - left; @@ -90,7 +89,7 @@ void CustomLayout::OnLayout( bool changed, LayoutLength left, LayoutLength top, LayoutLength childWidth = childLayout->GetMeasuredWidth(); LayoutLength childHeight = childLayout->GetMeasuredHeight(); - childTop = middle - (childHeight / 2); + childTop = middle - childHeight / 2; LayoutLength left = childLeft + center - childWidth / 2; diff --git a/packaging/com.samsung.dali-demo.spec b/packaging/com.samsung.dali-demo.spec index 1754145..58cc784 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.3.42 +Version: 1.3.43 Release: 1 Group: System/Libraries License: Apache-2.0