1 #ifndef __DALI_TOOLKIT_CUBE_TRANSITION_WAVE_EFFECT_H__
2 #define __DALI_TOOLKIT_CUBE_TRANSITION_WAVE_EFFECT_H__
5 * Copyright (c) 2015 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>
29 namespace Internal DALI_INTERNAL
32 * CubeTransitionWaveEffect implementation class
34 class CubeTransitionWaveEffect;
36 } // namespace Internal
39 * SubClass of CubeTransitionEffect
40 * Rotate the cubes successively according to the finger movement to achieve wave-like transition effect
42 class DALI_IMPORT_API CubeTransitionWaveEffect : public CubeTransitionEffect
48 * Create an initialized CubeTransitionWaveEffect
49 * @param[in] numRows How many rows of cubes
50 * @param[in] numColumns How many columns of cubes
51 * @return The initialized CubeTransitionWaveEffect object
53 static CubeTransitionWaveEffect New( unsigned int numRows, unsigned int numColumns );
56 public: // Not intended for developer use
59 * Creates a handle using the Toolkit::Internal implementation.
60 * @param[in] implementation The Control implementation.
62 DALI_INTERNAL CubeTransitionWaveEffect( Internal::CubeTransitionWaveEffect& implementation );
65 * Allows the creation of this Control from an Internal::CustomActor pointer.
66 * @param[in] internal A pointer to the internal CustomActor.
68 DALI_INTERNAL CubeTransitionWaveEffect( Dali::Internal::CustomActor* internal );
70 }; // class CubeTransitionWaveEffect
72 } // namespace Toolkit
75 #endif /* __DALI_TOOLKIT_CUBE_TRANSITION_WAVE_EFFECT_H__ */