X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Ftransition-effects%2Fcube-transition-effect.h;h=9f9efc0e4b8e6a0fe0cb5c8a0d16c1d923f99c6f;hb=6d96d7c0b6a74a5fe927dcaa2d9b1fae932af08d;hp=7b915a64469de9f4254abf61f34418c3f9416858;hpb=6da8438e9ac7350d9cc6f69b35cbcc4ab3987da1;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/transition-effects/cube-transition-effect.h b/dali-toolkit/devel-api/transition-effects/cube-transition-effect.h old mode 100644 new mode 100755 index 7b915a6..9f9efc0 --- a/dali-toolkit/devel-api/transition-effects/cube-transition-effect.h +++ b/dali-toolkit/devel-api/transition-effects/cube-transition-effect.h @@ -1,8 +1,8 @@ -#ifndef __DALI_TOOLKIT_CUBE_TRANSITION_EFFECT_H__ -#define __DALI_TOOLKIT_CUBE_TRANSITION_EFFECT_H__ +#ifndef DALI_TOOLKIT_CUBE_TRANSITION_EFFECT_H +#define DALI_TOOLKIT_CUBE_TRANSITION_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. @@ -20,6 +20,10 @@ // INTERNAL INCLUDES #include +#include + +// EXTERNAL INCLUDES +#include namespace Dali { @@ -74,11 +78,11 @@ class CubeTransitionEffect; * @endcode * * Signals - * | %Signal Name | Method | - * |----------------------|----------------------------------| - * | transition-completed | @ref TransitionCompletedSignal() | + * | %Signal Name | Method | + * |---------------------|----------------------------------| + * | transitionCompleted | @ref TransitionCompletedSignal() | */ -class DALI_IMPORT_API CubeTransitionEffect : public Control +class DALI_TOOLKIT_API CubeTransitionEffect : public Control { public: @@ -135,17 +139,17 @@ public: bool IsTransitioning(); /** - * Set the current image to transition from + * Set the current texture to transition from * if using this same effect continually, only need to set once - * @param[in] image The current image + * @param[in] texture The current texture */ - void SetCurrentImage(Image image); + void SetCurrentTexture( Texture texture ); /** - * Set the target image to transit to - * @param[in] image The new Image showing on stage + * Set the target texture to transit to + * @param[in] texture The new Texture showing on stage */ - void SetTargetImage(Image image); + void SetTargetTexture( Texture texture ); /** * Activate the transition animation with horizontally left/right panGesture @@ -184,13 +188,13 @@ public: public: //Signal //Transition animation completed signal - typedef Signal< void ( CubeTransitionEffect, Image ) > TransitionCompletedSignalType; + typedef Signal< void ( CubeTransitionEffect, Texture ) > TransitionCompletedSignalType; /** * Signal emitted when the transition has completed animation * A callback of the following type may be connected * @code - * void YourCallbackName( CubeTransitionEffect cubeEffect, ImageActor currentImage ); + * void YourCallbackName( CubeTransitionEffect cubeEffect, Texture currentTexture ); * @endcode * @return The Signal to connect to. */ @@ -218,4 +222,4 @@ public: // Not intended for developer use } // namespace Dali -#endif /* __DALI_TOOLKIT_CUBE_TRANSITION_EFFECT_H__ */ +#endif // DALI_TOOLKIT_CUBE_TRANSITION_EFFECT_H