X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fvisuals%2Fvisual-base-impl.h;h=17229648a345e1050987bbbc7b77861d30efa92d;hp=054708fcb51145abab77178216488c7ac1cb3ed9;hb=984fcbe3031a3ce3142515c515ccef9112c33c65;hpb=fb0339fee98523cbf3e527ddd8125660aa441c6c diff --git a/dali-toolkit/internal/visuals/visual-base-impl.h b/dali-toolkit/internal/visuals/visual-base-impl.h index 054708f..1722964 100644 --- a/dali-toolkit/internal/visuals/visual-base-impl.h +++ b/dali-toolkit/internal/visuals/visual-base-impl.h @@ -270,6 +270,27 @@ private: void RegisterMixColor(); /** + * Find the matching property on the renderer or shader. If it's a shader + * property, register it on the renderer in order to animate it for this + * visual independently. + * @param[in] key The key to match. + * @return the matching index, or INVALID_INDEX if it's not found + */ + Property::Index GetPropertyIndex( Property::Key key ); + + /** + * Set up the transition. If no animation is required, then + * transition will be untouched. + * + * @param[in] transition The transition to use or set up. + * @param[in] animator The animation data to use + * @param[in] index The property index on the renderer to animate + */ + void SetupTransition( Dali::Animation& transition, + Internal::TransitionData::Animator& animator, + Property::Index index ); + + /** * When a mix color animation has finished, ensure the blend mode is set back * to the right value for the target opacity. */