X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Fpublic-api%2Fanimation%2Fkey-frames.cpp;h=34148e953d89f9cd43045c49163e3f3dc73579d9;hb=cddc4be9fb810c78a0a0d2bf20fc320b51d2e10e;hp=1edf54e0e9a76f0024dfede311f58585d1a30fb4;hpb=41a8779a0c72ec5efd6e902828ea3a718852b662;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/public-api/animation/key-frames.cpp b/dali/public-api/animation/key-frames.cpp index 1edf54e..34148e9 100644 --- a/dali/public-api/animation/key-frames.cpp +++ b/dali/public-api/animation/key-frames.cpp @@ -1,5 +1,5 @@ /* - * 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. @@ -19,7 +19,7 @@ #include // INTERNAL INCLUDES -#include +#include #include #include #include @@ -57,13 +57,6 @@ KeyFrames& KeyFrames::operator=(const KeyFrames& rhs) return *this; } -KeyFrames& KeyFrames::operator=(BaseHandle::NullType* rhs) -{ - DALI_ASSERT_ALWAYS( (rhs == NULL) && "Can only assign NULL pointer to handle"); - Reset(); - return *this; -} - Property::Type KeyFrames::GetType() const { return GetImplementation(*this).GetType(); @@ -71,7 +64,7 @@ Property::Type KeyFrames::GetType() const void KeyFrames::Add(float time, Property::Value value) { - Add(time, value, AlphaFunctions::Linear); + Add(time, value, AlphaFunction::DEFAULT); } void KeyFrames::Add(float time, Property::Value value, AlphaFunction alpha)