X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Finternal%2Fhelpers%2Fcolor-conversion.h;h=d032fc242a4569ca231a8cf199aebf09ce74bf5a;hb=5a936aac073676657d48db5c42e5d2ad3f5cac9f;hp=dcd51bd4f338577f740b259c4c15147a8ce8a366;hpb=6058e0e734f5b316fd8f8f622e87bfaeb6ca96b4;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/internal/helpers/color-conversion.h b/dali-toolkit/internal/helpers/color-conversion.h index dcd51bd..d032fc2 100644 --- a/dali-toolkit/internal/helpers/color-conversion.h +++ b/dali-toolkit/internal/helpers/color-conversion.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_INTERNAL_COLOR_CONVERSION_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. @@ -18,19 +18,17 @@ */ // EXTERNAL INCLUDES -#include #include +#include namespace Dali { - -class Vector4; +struct Vector4; namespace Toolkit { namespace Internal { - /* * @brief Convert the string representation of a color into a Vector4. * @@ -42,7 +40,7 @@ namespace Internal * @param[out] outColor The color if found. * @return True if the conversion was successful. */ -bool ConvertStringToColor( const std::string& colorString, Vector4& outColor ); +bool ConvertStringToColor(const std::string& colorString, Vector4& outColor); /* * @brief Convert a variety of different color representations into a Vector4. @@ -51,11 +49,10 @@ bool ConvertStringToColor( const std::string& colorString, Vector4& outColor ); * @param[out] outColor The color if found. * @return True if the conversion was successful. */ -bool ConvertPropertyToColor( const Property::Value& colorValue, Vector4& outColor ); - -} // Internal -} // Toolkit -} // Dali +bool ConvertPropertyToColor(const Property::Value& colorValue, Vector4& outColor); +} // namespace Internal +} // namespace Toolkit +} // namespace Dali #endif // DALI_TOOLKIT_INTERNAL_COLOR_CONVERSION_H