X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fpublic-api%2Fcontrols%2Fcontrol-impl.h;h=b3d542f406b103ebe9dca182b77f0603793c7b9a;hb=eb1814205ac5e8ed406251fc71d7684930060cec;hp=6717f5b7962a032c55339eb8965554024f7ab32b;hpb=b68ba033c963cc1f92b127a4b4ed1ceea124fec9;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/public-api/controls/control-impl.h b/dali-toolkit/public-api/controls/control-impl.h index 6717f5b..b3d542f 100644 --- a/dali-toolkit/public-api/controls/control-impl.h +++ b/dali-toolkit/public-api/controls/control-impl.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_CONTROL_IMPL_H /* - * Copyright (c) 2020 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 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. @@ -20,6 +20,8 @@ // EXTERNAL INCLUDES #include +#include +#include #include #include #include @@ -251,6 +253,27 @@ public: DALI_INTERNAL void KeyboardEnter(); /// @endcond + /** + * @brief Retrieve visual property animations. + * This Control is a destination. + * + * @param[in] animation generated animation + * @param[in] source source control of the animation. + * @param[in] alphaFunction AlphaFunction of the animation + * @param[in] timePeriod TimePeriod of the animation + */ + virtual void CreateTransitions(Dali::Animation& animation, Dali::Toolkit::Control source, AlphaFunction alphaFunction, TimePeriod timePeriod); + + /** + * @brief Set this Control is transparent or not without any affection on the child Actors. + */ + void SetTransparent(bool transparent) override; + + /** + * @brief Get this Control is transparent or not. + */ + bool GetTransparent() const override; + // Signals /** @@ -279,6 +302,9 @@ public: DALI_INTERNAL bool EmitKeyEventSignal(const KeyEvent& event); /// @endcond +private: // For utility method + void MakeVisualTransition(Dali::Animation& animation, Dali::Toolkit::Control source, Dali::Property::Index index, AlphaFunction alphaFunction, TimePeriod timePeriod); + protected: // For derived classes to call /** * @brief Emits KeyInputFocusGained signal if true else emits KeyInputFocusLost signal.