mPages(),
mBackgroundAnimations(),
mExampleList(),
+ mPageWidth( 0.0f ),
mTotalPages(),
mScrolling( false ),
mSortAlphabetically( false ),
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;
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<actorCount; ++i )
{
if( gUseMesh )
/*
- * Copyright (c) 2014 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.
Toolkit::NavigationView mNavigationView;
Toolkit::Control mView;
- unsigned int mOrientation;
Toolkit::ToolBar mToolBar;
TextLabel mTitleActor;
Layer mBuilderLayer;
- Toolkit::Popup mMenu;
-
TapGestureDetector mTapDetector;
// builder
FileWatcher mFileWatcher;
Timer mTimer;
-
-
};
//------------------------------------------------------------------------------
Toolkit::CheckBoxButton mCheckboxButton3;
Animation mAnimation;
- float mLastPoint;
Toolkit::ImageView mImage;
};
/*
- * Copyright (c) 2014 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.
ImageScalingAndFilteringController( Application& application )
: mApplication( application ),
+ mLastPinchScale( 1.0f ),
mImageStageScale( 0.5f, 0.5f ),
mCurrentPath( 0 ),
mFittingMode( FittingMode::FIT_WIDTH ),
ImageSvgController( Application& application )
: mApplication( application ),
mScale( 1.f ),
+ mScaleAtPinchStart( 1.0f ),
mIndex( 0 )
{
// Connect to the Application's Init signal
/*
- * Copyright (c) 2014 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.
: mApplication( application ),
mView(),
mAnimationTime(0.0f),
+ mAnimationTimeProperty( Property::INVALID_INDEX ),
mMagnifierShown(false)
{
// Connect to the Application's Init signal
Actor mCompositionActor;
//Motion
- bool mExitClick;
Vector2 mCurrentTouchPosition;
Vector2 mMetaballPosVariation;
Vector2 mMetaballPosVariationFrom;
/*
- * Copyright (c) 2014 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.
: mApplication(app),
mActorEffectsEnabled(false),
mCurrentActorAnimation(0),
- mCurrentImage(0)
+ mCurrentImage(0),
+ mOrientation( PORTRAIT )
{
// Connect to the Application's Init signal
app.InitSignal().Connect(this, &MotionBlurExampleApp::OnInit);
/*
- * Copyright (c) 2014 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.
: mApplication(app),
mActorEffectsEnabled(false),
mCurrentActorAnimation(0),
- mCurrentImage(0)
+ mCurrentImage(0),
+ mOrientation( PORTRAIT )
{
// Connect to the Application's Init signal
app.InitSignal().Connect(this, &MotionStretchExampleApp::OnInit);
NewWindowController::NewWindowController( Application& application )
: mApplication(application),
- mNeedNewAnimation(true)
+ mNeedNewAnimation(true),
+ mAnimateComponentCount( 0 )
{
mApplication.InitSignal().Connect(this, &NewWindowController::Create);
mApplication.TerminateSignal().Connect(this, &NewWindowController::Destroy);
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;
Internal::ImageChannelControl::ImageChannelControl()
: Control( ControlBehaviour( REQUIRES_STYLE_CHANGE_SIGNALS ) ),
mChannels( 1.0f, 1.0f, 1.0f ),
+ mChannelIndex( Property::INVALID_INDEX ),
mVisibility(true),
mTargetVisibility(true)
{
StylingApplication::StylingApplication( Application& application )
-: mApplication( application )
+: mApplication( application ),
+ mCurrentTheme( 0 )
{
application.InitSignal().Connect( this, &StylingApplication::Create );
}
/*
- * 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.
typedef uint32_t SizeType;
EmojiExample( Application& application )
- : mApplication( application )
+ : mApplication( application ),
+ mLastPoint( 0.0f )
{
std::cout << "EmoticonController::EmoticonController" << std::endl;
/*
- * 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.
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 );