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