X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fvisuals%2Fnpatch-data.h;h=7a052c4f47d3073898e7c7d0af72d940e62fac09;hp=a807d3947142afbc419cdf6dedbb6964956f868f;hb=ff4a3d03472a60aba7cd8ffe111e5fcd9527d967;hpb=b8da2e53925b9abb9fa362560069e8ca4aa62f81 diff --git a/dali-toolkit/internal/visuals/npatch-data.h b/dali-toolkit/internal/visuals/npatch-data.h index a807d39..7a052c4 100644 --- a/dali-toolkit/internal/visuals/npatch-data.h +++ b/dali-toolkit/internal/visuals/npatch-data.h @@ -25,6 +25,7 @@ // INTERNAL INCLUDES #include #include +#include namespace Dali { @@ -100,14 +101,14 @@ public: * * @param [in] url NPatch image url */ - void SetUrl(const std::string url); + void SetUrl(const VisualUrl& url); /** * @brief Retrieve the image url. * * @return Return the image url. */ - std::string GetUrl() const; + VisualUrl GetUrl() const; /** * @brief Set texture set on the cache data @@ -274,7 +275,7 @@ private: NPatchDataId mId; ObserverListType mObserverList; ///< Container used to store all observer clients of this Texture - std::string mUrl; ///< Url of the N-Patch + VisualUrl mUrl; ///< Url of the N-Patch TextureSet mTextureSet; ///< Texture containing the cropped image NPatchUtility::StretchRanges mStretchPixelsX; ///< X stretch pixels NPatchUtility::StretchRanges mStretchPixelsY; ///< Y stretch pixels