X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fcontrols%2Fimage-view%2Fimage-view-impl.h;h=150fbd538149e27029a5766d6e24a31a1859e2aa;hb=9fff4fa5534b563329dc8cd6c0598888f667ee39;hp=2b31bf9114e24ad086052f24bd43649c338b48b2;hpb=1ef48207a956ca5a78cad6f953074953fbcf9f60;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/controls/image-view/image-view-impl.h b/dali-toolkit/internal/controls/image-view/image-view-impl.h index 2b31bf9..150fbd5 100644 --- a/dali-toolkit/internal/controls/image-view/image-view-impl.h +++ b/dali-toolkit/internal/controls/image-view/image-view-impl.h @@ -76,6 +76,11 @@ public: void SetImage( const std::string& imageUrl, ImageDimensions size ); /** + * @copydoc Dali::Toolkit::GetImage + */ + Image GetImage() const; + + /** * @brief Set whether the Pre-multiplied Alpha Blending is required * * @param[in] preMultipled whether alpha is pre-multiplied. @@ -128,6 +133,11 @@ private: // From Control virtual void OnStageDisconnection(); /** + * @copydoc Toolkit::Control::OnSizeSet() + */ + virtual void OnSizeSet( const Vector3& targetSize ); + + /** * @copydoc Toolkit::Control::GetNaturalSize */ virtual Vector3 GetNaturalSize(); @@ -150,12 +160,11 @@ private: private: Toolkit::ControlRenderer mRenderer; ImageDimensions mImageSize; + Vector2 mSizeSet; std::string mUrl; ///< the url for the image if the image came from a URL, empty otherwise Image mImage; ///< the Image if the image came from a Image, null otherwise Property::Map mPropertyMap; ///< the Property::Map if the image came from a Property::Map, empty otherwise - - bool mPremultipledAlphaEnabled; ///< Flag indicating whether the Pre-multiplied Alpha Blending is required }; } // namespace Internal