X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Fbubble-effect%2Fbubble-emitter.h;h=3bbdce93b416558fe9eba4269434467ef017a7b0;hb=305b42da3085e8b4682ddadebdab7661148a0cb6;hp=461e564b04864ad1a74e294d32ef19fa1b10109f;hpb=d9c164e4530e354cd14dc4a1a658070ba55e99b8;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git 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 461e564..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 for RenderableActor is used. - */ - void SetBlendMode( bool enable ); - - /** * @brief Add a bubble movement to the animation. * * @param[in] animation The animation reference.