X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=shared%2Fbubble-animator.h;h=fed6bf1ded86970507260b1f13f1f0ca96574434;hb=5a56ed534cbc24150d68f03ea7fba7cfcc653835;hp=f8f6ce91b87594f1a1c4a3c6bf84fb96d7409970;hpb=e6806c116e1307bef6644e40b387d69b80100391;p=platform%2Fcore%2Fuifw%2Fdali-demo.git diff --git a/shared/bubble-animator.h b/shared/bubble-animator.h index f8f6ce9..fed6bf1 100644 --- a/shared/bubble-animator.h +++ b/shared/bubble-animator.h @@ -2,7 +2,7 @@ #define DALI_DEMO_BUBBLE_ANIMATOR_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. @@ -19,12 +19,12 @@ */ // EXTERNAL INCLUDES -#include #include #include #include #include #include +#include /** * Creates and animates random sized bubbles @@ -32,7 +32,6 @@ class BubbleAnimator : public Dali::ConnectionTracker { public: - /** * @brief Initilizes the bubble background * @@ -47,7 +46,6 @@ public: void PlayAnimation(); private: - /** * @brief Used by the timer to pause the animation * @@ -71,13 +69,12 @@ private: void AddBackgroundActors(Dali::Actor layer, int count); private: - using AnimationList = std::vector; - Dali::WeakHandle mScrollView; ///< Weak handle to the scroll view used to apply a parallax effect when scrolling. - AnimationList mBackgroundAnimations; ///< List of background bubble animations. - Dali::Timer mAnimationTimer; ///< Timer used to turn off animation after a specific time period. - bool mBackgroundAnimsPlaying{false}; ///< Are background animations playing. + Dali::WeakHandle mScrollView; ///< Weak handle to the scroll view used to apply a parallax effect when scrolling. + AnimationList mBackgroundAnimations; ///< List of background bubble animations. + Dali::Timer mAnimationTimer; ///< Timer used to turn off animation after a specific time period. + bool mBackgroundAnimsPlaying{false}; ///< Are background animations playing. }; #endif // DALI_DEMO_BUBBLE_ANIMATOR_H