X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-effects-style.cpp;h=d5f8ff13ba8cf1cb2a9718ec2748b0c86e34942e;hp=10d9da480d2ed28ea579b8d0de652b31f2fe152b;hb=0e1683ef848d1d877e26633609fa95e0d2ab36b5;hpb=e50e9862014f01ea06a82f78addf1ede66e974b6 diff --git a/dali-toolkit/internal/text/text-effects-style.cpp b/dali-toolkit/internal/text/text-effects-style.cpp index 10d9da4..d5f8ff1 100755 --- a/dali-toolkit/internal/text/text-effects-style.cpp +++ b/dali-toolkit/internal/text/text-effects-style.cpp @@ -175,7 +175,7 @@ bool ParseOutlineProperties( const Property::Map& underlinePropertiesMap, bool& colorDefined, Vector4& color, bool& widthDefined, - unsigned int& width ) + uint16_t& width ) { const unsigned int numberOfItems = underlinePropertiesMap.Count(); @@ -194,7 +194,7 @@ bool ParseOutlineProperties( const Property::Map& underlinePropertiesMap, { /// Width key. widthDefined = true; - width = static_cast( valueGet.second.Get() ); + width = static_cast( valueGet.second.Get() ); } } @@ -587,7 +587,7 @@ bool SetOutlineProperties( ControllerPtr controller, const Property::Value& valu bool colorDefined = false; Vector4 color; bool widthDefined = false; - unsigned int width = 0u; + uint16_t width = 0u; bool empty = true; @@ -668,7 +668,7 @@ void GetOutlineProperties( ControllerPtr controller, Property::Value& value, Eff else { const Vector4& color = controller->GetOutlineColor(); - const unsigned int width = controller->GetOutlineWidth(); + const uint16_t width = controller->GetOutlineWidth(); Property::Map map; map.Insert( COLOR_KEY, color );