X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali%2Finternal%2Fevent%2Fanimation%2Fanimation-impl.h;h=fa281011aa848b473af3f44bd832ec1c21ff40fb;hb=462cbee2270984cdca45488f3733d664dcf49187;hp=f3ade189e2b286435790b1a8a19d5de1505b09c8;hpb=96d0d7f74c35e2640c7652c572a910ccf3471231;p=platform%2Fcore%2Fuifw%2Fdali-core.git diff --git a/dali/internal/event/animation/animation-impl.h b/dali/internal/event/animation/animation-impl.h index f3ade18..fa28101 100644 --- a/dali/internal/event/animation/animation-impl.h +++ b/dali/internal/event/animation/animation-impl.h @@ -2,7 +2,7 @@ #define __DALI_INTERNAL_ANIMATION_H__ /* - * Copyright (c) 2014 Samsung Electronics Co., Ltd. + * Copyright (c) 2017 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. @@ -43,7 +43,6 @@ class Actor; class Animation; class AnimationPlaylist; class Object; -class ShaderEffect; typedef IntrusivePtr AnimationPtr; typedef std::vector AnimationContainer; @@ -159,6 +158,11 @@ public: void Pause(); /** + * @copydoc Dali::Animation::GetState() + */ + Dali::Animation::State GetState() const; + + /** * @copydoc Dali::Animation::Stop() */ void Stop(); @@ -444,6 +448,13 @@ private: Animation& operator=(const Animation& rhs); private: + + struct ConnectorTargetValues + { + unsigned int connectorIndex; + Property::Value targetValue; + }; + EventThreadServices& mEventThreadServices; AnimationPlaylist& mPlaylist; @@ -458,6 +469,8 @@ private: AnimatorConnectorContainer mConnectors; ///< Owned by the Animation + std::vector< ConnectorTargetValues > mConnectorTargetValues; //< Used to store animating property target value information + // Cached for public getters float mDurationSeconds; float mSpeedFactor; @@ -467,6 +480,7 @@ private: EndAction mEndAction; EndAction mDisconnectAction; AlphaFunction mDefaultAlpha; + Dali::Animation::State mState; };