/*
- * Copyright (c) 2014 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2015 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.
ItemLayout::ItemLayout()
: mOrientation( ControlOrientation::Up ),
- mAlphaFunction( AlphaFunctions::Linear ),
+ mAlphaFunction( AlphaFunction::LINEAR ),
mWeightObject()
{
}
keyFrames.Add( 1.0f, 1.0f );
Animation applyAnimation = Dali::Animation::New( durationSeconds );
- applyAnimation.AnimateBetween( Property( mWeightObject, WeightObject::WEIGHT ), keyFrames, mAlphaFunction, durationSeconds );
+ applyAnimation.AnimateBetween( Property( mWeightObject, WeightObject::WEIGHT ), keyFrames, mAlphaFunction, TimePeriod(durationSeconds) );
applyAnimation.Play();
}
}