1 #ifndef DALI_TOOLKIT_CUBE_TRANSITION_FOLD_EFFECT_H
2 #define DALI_TOOLKIT_CUBE_TRANSITION_FOLD_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 * CubeTransitionFoldEffectimplementation class
32 class CubeTransitionFoldEffect;
34 } // namespace DALI_INTERNAL
37 * SubClass of CubeTransitionEffect
38 * Rotate the neighboring cubes in opposite directions to transition from one image to another
40 class DALI_TOOLKIT_API CubeTransitionFoldEffect : public CubeTransitionEffect
44 * Create an initialized CubeTransitionFoldEffect
45 * @param[in] numRows How many rows of cubes
46 * @param[in] numColumns How many columns of cubes
47 * @return The initialized CubeTransitionFoldEffect object
49 static CubeTransitionFoldEffect 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 CubeTransitionFoldEffect(Internal::CubeTransitionFoldEffect& 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 CubeTransitionFoldEffect(Dali::Internal::CustomActor* internal);
64 }; // class CubeTransitionFoldEffect
66 } // namespace Toolkit
70 #endif // DALI_TOOLKIT_CUBE_TRANSITION_FOLD_EFFECT_H