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=53e4fc1c16f78b6229b38b6fb5010a901d41abc0;hp=2462bc7ff8b1f6ad89891dec1077d77bff028432;hb=f2a6a134e4b939815b40f417f5aca61a6fccf92e;hpb=eac074bfe3a3c144f55583135515d2c8d16eb479 diff --git a/dali-toolkit/internal/text/text-enumerations-impl.h b/dali-toolkit/internal/text/text-enumerations-impl.h index 2462bc7..53e4fc1 100644 --- a/dali-toolkit/internal/text/text-enumerations-impl.h +++ b/dali-toolkit/internal/text/text-enumerations-impl.h @@ -35,19 +35,27 @@ namespace Text /** * @brief Get the alignment from the provided property value. - * @param[in] propertyValue the source value - * @param[out] alignment the resulting alignment from the given source + * @param[in] propertyValue The source value (which can be a Property::INTEGER or Property::STRING type) + * @param[out] alignment The resulting alignment from the given source * @return true if the resulting alignment has been updated */ -bool GetHorizontalAlignmentEnum( const Property::Value& propertyValue, Toolkit::Text::HorizontalAlignment::Type& alignment ); +bool GetHorizontalAlignmentEnumeration( const Property::Value& propertyValue, Toolkit::Text::HorizontalAlignment::Type& alignment ); /** * @brief Get the alignment from the provided property value. - * @param[in] propertyValue the source value - * @param[out] alignment the resulting alignment from the given source + * @param[in] propertyValue The source value (which can be a Property::INTEGER or Property::STRING type) + * @param[out] alignment The resulting alignment from the given source * @return true if the resulting alignment has been updated */ -bool GetVerticalAlignmentEnum( const Property::Value& propertyValue, Toolkit::Text::VerticalAlignment::Type& alignment ); +bool GetVerticalAlignmentEnumeration( const Property::Value& propertyValue, Toolkit::Text::VerticalAlignment::Type& alignment ); + +/** + * @brief Get the line-wrap-mode from the provided property value. + * @param[in] propertyValue The source value (which can be a Property::INTEGER or Property::STRING type) + * @param[out] alignment The resulting lineWrapMode from the given source + * @return true if the resulting lineWrapMode has been updated + */ +bool GetLineWrapModeEnumeration( const Property::Value& propertyValue, Toolkit::Text::LineWrap::Mode& lineWrapMode ); /** * @brief Get the alignment string from the provided alignment string. @@ -63,7 +71,6 @@ const char* GetHorizontalAlignmentString( const Toolkit::Text::HorizontalAlignme */ const char* GetVerticalAlignmentString( const Toolkit::Text::VerticalAlignment::Type& alignment ); - } // namespace Text } // namespace Toolkit