X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Ftext%2Ftext-enumerations-impl.h;h=bb72e98ae498f33f90177b2f3d86c77a06e0e684;hb=d74d70d51ed70b00e29a2b6feac5419124fffc49;hp=53e4fc1c16f78b6229b38b6fb5010a901d41abc0;hpb=f2a6a134e4b939815b40f417f5aca61a6fccf92e;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 53e4fc1..bb72e98 100644 --- a/dali-toolkit/internal/text/text-enumerations-impl.h +++ b/dali-toolkit/internal/text/text-enumerations-impl.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_TEXT_ENUMERATION_IMPL_H /* - * Copyright (c) 2017 Samsung Electronics Co., Ltd. + * Copyright (c) 2021 Samsung Electronics Co., Ltd. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -26,20 +26,17 @@ namespace Dali { - namespace Toolkit { - namespace Text { - /** * @brief Get the alignment 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 alignment from the given source * @return true if the resulting alignment has been updated */ -bool GetHorizontalAlignmentEnumeration( 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. @@ -47,7 +44,7 @@ bool GetHorizontalAlignmentEnumeration( const Property::Value& propertyValue, To * @param[out] alignment The resulting alignment from the given source * @return true if the resulting alignment has been updated */ -bool GetVerticalAlignmentEnumeration( 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. @@ -55,21 +52,21 @@ bool GetVerticalAlignmentEnumeration( const Property::Value& propertyValue, Tool * @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 ); +bool GetLineWrapModeEnumeration(const Property::Value& propertyValue, Toolkit::Text::LineWrap::Mode& lineWrapMode); /** * @brief Get the alignment string from the provided alignment string. - * @param[in] alignment the Text::Horizontal enum source + * @param[in] alignment the Text::HORIZONTAL enum source * @return the string equivalent */ -const char* GetHorizontalAlignmentString( const Toolkit::Text::HorizontalAlignment::Type& alignment ); +const char* GetHorizontalAlignmentString(const Toolkit::Text::HorizontalAlignment::Type& alignment); /** * @brief Get the alignment string from the provided alignment string. * @param[in] alignment the Text::VerticalAlignment enum source * @return the string equivalent */ -const char* GetVerticalAlignmentString( const Toolkit::Text::VerticalAlignment::Type& alignment ); +const char* GetVerticalAlignmentString(const Toolkit::Text::VerticalAlignment::Type& alignment); } // namespace Text