1 #ifndef __DALI_TOOLKIT_CUBE_TRANSITION_FOLD_EFFECT_H__
2 #define __DALI_TOOLKIT_CUBE_TRANSITION_FOLD_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 * CubeTransitionFoldEffectimplementation class
34 class CubeTransitionFoldEffect;
36 } // namespace Internal
39 * SubClass of CubeTransitionEffect
40 * Rotate the neighboring cubes in opposite directions to transition from one image to another
42 class DALI_IMPORT_API CubeTransitionFoldEffect : public CubeTransitionEffect
48 * Create an initialized CubeTransitionFoldEffect
49 * @param[in] numRows How many rows of cubes
50 * @param[in] numColumns How many columns of cubes
51 * @return The initialized CubeTransitionFoldEffect object
53 static CubeTransitionFoldEffect 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 CubeTransitionFoldEffect( Internal::CubeTransitionFoldEffect& 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 CubeTransitionFoldEffect( Dali::Internal::CustomActor* internal );
70 }; // class CubeTransitionFoldEffect
72 } // namespace Toolkit
76 #endif /* __DALI_TOOLKIT_CUBE_TRANSITION_FOLD_EFFECT_H__ */