diff --git a/demo/dali-table-view.cpp b/demo/dali-table-view.cpp index 1de6db9..09a0343 100644 --- a/demo/dali-table-view.cpp +++ b/demo/dali-table-view.cpp @@ -226,6 +226,7 @@ DaliTableView::DaliTableView( Application& application ) mPages(), mBackgroundAnimations(), mExampleList(), + mPageWidth( 0.0f ), mTotalPages(), mScrolling( false ), mSortAlphabetically( false ), diff --git a/examples/benchmark/benchmark.cpp b/examples/benchmark/benchmark.cpp index 6d137ff..546e8e5 100644 --- a/examples/benchmark/benchmark.cpp +++ b/examples/benchmark/benchmark.cpp @@ -351,7 +351,7 @@ public: float delay = 0.0f; float duration = 0.0f; - if( count < mRowsPerPage*mColumnsPerPage ) + if( count < ( static_cast< size_t >( mRowsPerPage ) * mColumnsPerPage ) ) { duration = durationPerActor; delay = delayBetweenActors * count; @@ -385,7 +385,7 @@ public: Vector3 stageSize( stage.GetSize() ); mScroll = Animation::New(10.0f); - size_t actorCount( mRowsPerPage*mColumnsPerPage*mPageCount); + size_t actorCount( static_cast< size_t >( mRowsPerPage ) * mColumnsPerPage * mPageCount ); for( size_t i(0); i( mRowsPerPage ) * mColumnsPerPage ) ) { duration = durationPerActor; delay = delayBetweenActors * count; diff --git a/examples/styling/image-channel-control-impl.cpp b/examples/styling/image-channel-control-impl.cpp index 4672d7d..6965a41 100644 --- a/examples/styling/image-channel-control-impl.cpp +++ b/examples/styling/image-channel-control-impl.cpp @@ -67,6 +67,7 @@ DALI_TYPE_REGISTRATION_END(); Internal::ImageChannelControl::ImageChannelControl() : Control( ControlBehaviour( REQUIRES_STYLE_CHANGE_SIGNALS ) ), mChannels( 1.0f, 1.0f, 1.0f ), + mChannelIndex( Property::INVALID_INDEX ), mVisibility(true), mTargetVisibility(true) { diff --git a/examples/styling/styling-application.cpp b/examples/styling/styling-application.cpp index a80a97b..ffd0aaa 100644 --- a/examples/styling/styling-application.cpp +++ b/examples/styling/styling-application.cpp @@ -92,7 +92,8 @@ Property::Index GetChannelProperty( int index ) StylingApplication::StylingApplication( Application& application ) -: mApplication( application ) +: mApplication( application ), + mCurrentTheme( 0 ) { application.InitSignal().Connect( this, &StylingApplication::Create ); } diff --git a/examples/text-label-emojis/text-label-emojis.cpp b/examples/text-label-emojis/text-label-emojis.cpp index f5415b2..8e13fff 100644 --- a/examples/text-label-emojis/text-label-emojis.cpp +++ b/examples/text-label-emojis/text-label-emojis.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2016 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. @@ -38,7 +38,8 @@ public: typedef uint32_t SizeType; EmojiExample( Application& application ) - : mApplication( application ) + : mApplication( application ), + mLastPoint( 0.0f ) { std::cout << "EmoticonController::EmoticonController" << std::endl; diff --git a/examples/video-view/video-view-example.cpp b/examples/video-view/video-view-example.cpp index c20b8f8..cb29b8d 100644 --- a/examples/video-view/video-view-example.cpp +++ b/examples/video-view/video-view-example.cpp @@ -1,5 +1,5 @@ /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2016 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. @@ -47,7 +47,8 @@ class VideoViewController: public ConnectionTracker mIsPlay( false ), mIsStop( false ), mIsFullScreen( false ), - mScale( 1.f ) + mScale( 1.f ), + mPinchStartScale( 1.0f ) { // Connect to the Application's Init signal mApplication.InitSignal().Connect( this, &VideoViewController::Create );