1 #ifndef DALI_TOOLKIT_CUBE_TRANSITION_WAVE_EFFECT_H
2 #define DALI_TOOLKIT_CUBE_TRANSITION_WAVE_EFFECT_H
5 * Copyright (c) 2020 Samsung Electronics Co., Ltd.
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
21 #include <dali-toolkit/devel-api/transition-effects/cube-transition-effect.h>
27 namespace Internal DALI_INTERNAL
30 * CubeTransitionWaveEffect implementation class
32 class CubeTransitionWaveEffect;
34 } // namespace DALI_INTERNAL
37 * SubClass of CubeTransitionEffect
38 * Rotate the cubes successively according to the finger movement to achieve wave-like transition effect
40 class DALI_TOOLKIT_API CubeTransitionWaveEffect : public CubeTransitionEffect
44 * Create an initialized CubeTransitionWaveEffect
45 * @param[in] numRows How many rows of cubes
46 * @param[in] numColumns How many columns of cubes
47 * @return The initialized CubeTransitionWaveEffect object
49 static CubeTransitionWaveEffect New(unsigned int numRows, unsigned int numColumns);
51 public: // Not intended for developer use
53 * Creates a handle using the Toolkit::Internal implementation.
54 * @param[in] implementation The Control implementation.
56 DALI_INTERNAL CubeTransitionWaveEffect(Internal::CubeTransitionWaveEffect& implementation);
59 * Allows the creation of this Control from an Internal::CustomActor pointer.
60 * @param[in] internal A pointer to the internal CustomActor.
62 DALI_INTERNAL CubeTransitionWaveEffect(Dali::Internal::CustomActor* internal);
64 }; // class CubeTransitionWaveEffect
66 } // namespace Toolkit
70 #endif // DALI_TOOLKIT_CUBE_TRANSITION_WAVE_EFFECT_H