1 #ifndef __DALI_TOOLKIT_CUBE_TRANSITION_FOLD_EFFECT_H__
2 #define __DALI_TOOLKIT_CUBE_TRANSITION_FOLD_EFFECT_H__
5 // Copyright (c) 2014 Samsung Electronics Co., Ltd.
7 // Licensed under the Flora License, Version 1.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://floralicense.org/license/
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.
20 #include <dali-toolkit/public-api/transition-effects/cube-transition-effect.h>
22 namespace Dali DALI_IMPORT_API
28 namespace Internal DALI_INTERNAL
31 * CubeTransitionFoldEffectimplementation class
33 class CubeTransitionFoldEffect;
35 } // namespace Internal
38 * SubClass of CubeTransitionEffect
39 * Rotate the neighboring cubes in opposite directions to transite from one image to another
41 class CubeTransitionFoldEffect : public CubeTransitionEffect
47 * Create an initialized CubeTransitionFoldEffect
48 * @param[in] numRows How many rows of cubes
49 * @param[in] numColumns How many columns of cubes
50 * @param[in] viewAreaSize The size of view area for this transition effect
51 * @return The initialized CubeTransitionFoldEffect object
53 static CubeTransitionFoldEffect New( unsigned int numRows, unsigned int numColumns, Size viewAreaSize );
56 public: // Not intended for developer use
59 * This constructor is used by Dali New() methods.
60 * @param [in] impl A pointer to a newly allocated Dali resource
62 CubeTransitionFoldEffect( Internal::CubeTransitionFoldEffect* impl );
64 }; // class CubeTransitionFoldEffect
66 } // namespace Toolkit
70 #endif /* __DALI_TOOLKIT_CUBE_TRANSITION_FOLD_EFFECT_H__ */