X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Ftransition-effects%2Fcube-transition-wave-effect.h;h=89abc2cea342d90de9aff4aff3da3cac500e7c74;hb=d77eb8256291852ab373718df3fc8fd937150974;hp=a3b1dc148653cdd45b6510ee8bb6fcb478ab9d9e;hpb=f58b8383147de70affa1e3949cf1c6757d705d3c;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/transition-effects/cube-transition-wave-effect.h b/dali-toolkit/devel-api/transition-effects/cube-transition-wave-effect.h index a3b1dc1..89abc2c 100644 --- a/dali-toolkit/devel-api/transition-effects/cube-transition-wave-effect.h +++ b/dali-toolkit/devel-api/transition-effects/cube-transition-wave-effect.h @@ -2,7 +2,7 @@ #define __DALI_TOOLKIT_CUBE_TRANSITION_WAVE_EFFECT_H__ /* - * Copyright (c) 2015 Samsung Electronics Co., Ltd. + * Copyright (c) 2018 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. @@ -39,7 +39,7 @@ namespace Internal DALI_INTERNAL * SubClass of CubeTransitionEffect * Rotate the cubes successively according to the finger movement to achieve wave-like transition effect */ -class DALI_IMPORT_API CubeTransitionWaveEffect : public CubeTransitionEffect +class DALI_TOOLKIT_API CubeTransitionWaveEffect : public CubeTransitionEffect { public: @@ -48,19 +48,24 @@ public: * Create an initialized CubeTransitionWaveEffect * @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 CubeTransitionWaveEffect object */ - static CubeTransitionWaveEffect New( unsigned int numRows, unsigned int numColumns, Size viewAreaSize ); + static CubeTransitionWaveEffect 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 CubeTransitionWaveEffect( Internal::CubeTransitionWaveEffect* impl ); + DALI_INTERNAL CubeTransitionWaveEffect( Internal::CubeTransitionWaveEffect& implementation ); + + /** + * Allows the creation of this Control from an Internal::CustomActor pointer. + * @param[in] internal A pointer to the internal CustomActor. + */ + DALI_INTERNAL CubeTransitionWaveEffect( Dali::Internal::CustomActor* internal ); }; // class CubeTransitionWaveEffect