X-Git-Url: http://review.tizen.org/git/?p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git;a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-enumerations-impl.h;h=af71f7de6791a8b43789dc5d94ba2e4d83ee472f;hp=bb72e98ae498f33f90177b2f3d86c77a06e0e684;hb=5247947358fb8bd9a1b27a6f0f347d6836b6e4f0;hpb=b8da2e53925b9abb9fa362560069e8ca4aa62f81 diff --git a/dali-toolkit/internal/text/text-enumerations-impl.h b/dali-toolkit/internal/text/text-enumerations-impl.h index bb72e98..af71f7d 100644 --- a/dali-toolkit/internal/text/text-enumerations-impl.h +++ b/dali-toolkit/internal/text/text-enumerations-impl.h @@ -24,6 +24,8 @@ // INTERNAL INCLUDES #include +// DEVEL INCLUDES +#include namespace Dali { namespace Toolkit @@ -68,6 +70,14 @@ const char* GetHorizontalAlignmentString(const Toolkit::Text::HorizontalAlignmen */ const char* GetVerticalAlignmentString(const Toolkit::Text::VerticalAlignment::Type& alignment); +/** + * @brief Get the ellipsis-location-type from the provided property value. + * @param[in] propertyValue The source value (which can be a Property::INTEGER or Property::STRING type) + * @param[out] ellipsisPositionType The resulting ellipsisPositionType from the given source + * @return true if the resulting ellipsisPositionType has been updated + */ +bool GetEllipsisPositionTypeEnumeration(const Property::Value& propertyValue, Toolkit::DevelText::EllipsisPosition::Type& ellipsisPositionType); + } // namespace Text } // namespace Toolkit