X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Ftransition-effects%2Fcube-transition-fold-effect.h;h=f3b093b2a6c538b505534d116c3c5da9a3ede8b9;hb=eccbcc0637034cc96bc6d392b297a9d99e86c442;hp=789a30e298e149b183281906e9eded1ad0abd9da;hpb=1c5674a11a51310ee689d6daf4e6b7d94dec607e;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/transition-effects/cube-transition-fold-effect.h b/dali-toolkit/devel-api/transition-effects/cube-transition-fold-effect.h index 789a30e..f3b093b 100644 --- a/dali-toolkit/devel-api/transition-effects/cube-transition-fold-effect.h +++ b/dali-toolkit/devel-api/transition-effects/cube-transition-fold-effect.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_CUBE_TRANSITION_FOLD_EFFECT_H__ -#define __DALI_TOOLKIT_CUBE_TRANSITION_FOLD_EFFECT_H__ +#ifndef DALI_TOOLKIT_CUBE_TRANSITION_FOLD_EFFECT_H +#define DALI_TOOLKIT_CUBE_TRANSITION_FOLD_EFFECT_H /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2019 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -37,9 +37,9 @@ namespace Internal DALI_INTERNAL /** * SubClass of CubeTransitionEffect - * Rotate the neighboring cubes in opposite directions to transite from one image to another + * Rotate the neighboring cubes in opposite directions to transition from one image to another */ -class DALI_IMPORT_API CubeTransitionFoldEffect : public CubeTransitionEffect +class DALI_TOOLKIT_API CubeTransitionFoldEffect : public CubeTransitionEffect { public: @@ -48,19 +48,24 @@ public: * Create an initialized CubeTransitionFoldEffect * @param[in] numRows How many rows of cubes * @param[in] numColumns How many columns of cubes - * @param[in] viewAreaSize The size of view area for this transition effect * @return The initialized CubeTransitionFoldEffect object */ - static CubeTransitionFoldEffect New( unsigned int numRows, unsigned int numColumns, Size viewAreaSize ); + static CubeTransitionFoldEffect New( unsigned int numRows, unsigned int numColumns ); public: // Not intended for developer use /** - * This constructor is used by Dali New() methods. - * @param [in] impl A pointer to a newly allocated Dali resource + * Creates a handle using the Toolkit::Internal implementation. + * @param[in] implementation The Control implementation. */ - explicit DALI_INTERNAL CubeTransitionFoldEffect( Internal::CubeTransitionFoldEffect* impl ); + DALI_INTERNAL CubeTransitionFoldEffect( Internal::CubeTransitionFoldEffect& implementation ); + + /** + * Allows the creation of this Control from an Internal::CustomActor pointer. + * @param[in] internal A pointer to the internal CustomActor. + */ + DALI_INTERNAL CubeTransitionFoldEffect( Dali::Internal::CustomActor* internal ); }; // class CubeTransitionFoldEffect @@ -68,4 +73,4 @@ public: // Not intended for developer use } // namespace Dali -#endif /* __DALI_TOOLKIT_CUBE_TRANSITION_FOLD_EFFECT_H__ */ +#endif // DALI_TOOLKIT_CUBE_TRANSITION_FOLD_EFFECT_H