X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftransition-effects%2Fcube-transition-effect-impl.h;h=56427499cb093e98f1048b0501ae30dc34668857;hp=8e7b983715b05814bf4f7fd7c1a6504206b3dc7d;hb=7c5cd5665d3b4648fed0a8b0a67522cdb48885cf;hpb=2ddfbb9e23a7c3fc30e604236c41e0ef6d2ed6a2 diff --git a/dali-toolkit/internal/transition-effects/cube-transition-effect-impl.h b/dali-toolkit/internal/transition-effects/cube-transition-effect-impl.h index 8e7b983..5642749 100644 --- a/dali-toolkit/internal/transition-effects/cube-transition-effect-impl.h +++ b/dali-toolkit/internal/transition-effects/cube-transition-effect-impl.h @@ -20,14 +20,15 @@ // EXTERNAL INCLUDES #include -#include + #include #include #include #include +#include // INTERNAL INCLUDES -#include +#include namespace Dali { @@ -209,6 +210,17 @@ public: //Signal */ Toolkit::CubeTransitionEffect::TransitionCompletedSignalType& TransitionCompletedSignal(); + /** + * Connects a callback function with the object's signals. + * @param[in] object The object providing the signal. + * @param[in] tracker Used to disconnect the signal. + * @param[in] signalName The signal to connect to. + * @param[in] functor A newly allocated FunctorDelegate. + * @return True if the signal was connected. + * @post If a signal was connected, ownership of functor was passed to CallbackBase. Otherwise the caller is responsible for deleting the unused functor. + */ + static bool DoConnectSignal( BaseObject* object, ConnectionTrackerInterface* tracker, const std::string& signalName, FunctorDelegate* functor ); + protected: /** @@ -249,7 +261,13 @@ private: * Set image and pixelArea to tiles * @param[in] image The image content of the imageActor for transition */ - void OnImageLoaded(Image image); + void OnImageLoaded(ResourceImage image); + + /** + * Set sub-image to each tile. + * @param[in] image The image content of the imageActor for transition + */ + void PrepareTiles( Image image ); /** * Callback function of transition animation finished @@ -285,7 +303,7 @@ protected: unsigned int mNumRows; unsigned int mNumColumns; Size mViewAreaSize; - ActorContainer mBoxes; + std::vector< Actor > mBoxes; std::vector< ImageActor > mTiles[2]; int mRotateIndex; Size mTileSize;