X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-enumerations-impl.h;h=af71f7de6791a8b43789dc5d94ba2e4d83ee472f;hb=e0c063be9e7ecde0e5665079289489d456828abf;hp=bb72e98ae498f33f90177b2f3d86c77a06e0e684;hpb=d0b0cfa4a44953be9af9128885eb6ef5d83a214e;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git 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