X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Fbubble-effect%2Fbubble-emitter.h;h=3bbdce93b416558fe9eba4269434467ef017a7b0;hp=5140144461a4a4dcdf3fc0e1e1ec817f25786e77;hb=8d7a2d639ced5d2eb3ce4321653ad4d8b55b0b95;hpb=ec4cd25a0466c6580d4a8f3fbba07340dfa2de1d diff --git a/dali-toolkit/devel-api/controls/bubble-effect/bubble-emitter.h b/dali-toolkit/devel-api/controls/bubble-effect/bubble-emitter.h index 5140144..3bbdce9 100644 --- a/dali-toolkit/devel-api/controls/bubble-effect/bubble-emitter.h +++ b/dali-toolkit/devel-api/controls/bubble-effect/bubble-emitter.h @@ -20,6 +20,7 @@ // INTERNAL INCLUDES #include +#include namespace Dali { @@ -57,14 +58,14 @@ public: /** * @brief Create an initialized BubbleEmitter. * - * @param[in] winSize The size of the bubble moving area, usually the same size as the background image actor. - * @param[in] shapeImage The alpha channnel of this texture defines the bubble shape. + * @param[in] winSize The size of the bubble moving area, usually the same size as the background. + * @param[in] shapeTexture The alpha channnel of this texture defines the bubble shape. * @param[in] maximumNumberOfBubble The maximum number of bubble needed. * @param[in] bubbleSizeRange The size range of the bubbles; x component is the low bound, and y component is the up bound. * @return The initialized BubbleEmitter object. */ static BubbleEmitter New( const Vector2& winSize, - Image shapeImage, + Dali::Texture shapeTexture, unsigned int maximumNumberOfBubble, const Vector2& bubbleSizeRange ); @@ -107,19 +108,19 @@ public: * @brief Set Background image. * * The bubbles pick color from this image with HSV values adjusted. - * @param[in] bgImage The background image which provide color to bubbles. + * @param[in] bgTexture The background texture which provide color to bubbles. * @param[in] hsvDelta The hsv channel difference used to adjust the background image color. * If set these vector as Vector3::Zero, original colors are used. */ - void SetBackground( Image bgImage, const Vector3& hsvDelta ); + void SetBackground( Dali::Texture bgTexture, const Vector3& hsvDelta ); /** * @brief Set bubble shape. * - * The bubble mesh is a rectangular patch, but its displayed shape is decided by the alpha channel of the shape image. - * @param[in] shapeImage The image whose alpha channel defines the bubble shape. + * The bubble mesh is a rectangular patch, but its displayed shape is decided by the alpha channel of the shape texture. + * @param[in] shapeTexture The texture whose alpha channel defines the bubble shape. */ - void SetShapeImage( Image shapeImage ); + void SetBubbleShape( Dali::Texture shapeTexture ); /** * @brief Set the scale factor applied to all the bubbles. @@ -140,13 +141,6 @@ public: void SetBubbleDensity( unsigned int density ); /** - * @brief Enable different blending mode for rendering. - * - * @param[in] enable If false, the default blending function if ImageActor is used. - */ - void SetBlendMode( bool enable ); - - /** * @brief Add a bubble movement to the animation. * * @param[in] animation The animation reference.