X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=dali-toolkit%2Fdevel-api%2Fcontrols%2Ftext-controls%2Ftext-label-devel.h;h=f1406fb777b74b2a8e8b287c05b872895413b766;hb=3a2dfe800fe4ec8214f42b28b3851ea8b8ffc72b;hp=ec6b9351c78e6c825ebff65e227a689fa2f68bdd;hpb=85c7065a159374bac65ff799a0a977f930b8e694;p=platform%2Fcore%2Fuifw%2Fdali-toolkit.git diff --git a/dali-toolkit/devel-api/controls/text-controls/text-label-devel.h b/dali-toolkit/devel-api/controls/text-controls/text-label-devel.h index ec6b935..f1406fb 100755 --- a/dali-toolkit/devel-api/controls/text-controls/text-label-devel.h +++ b/dali-toolkit/devel-api/controls/text-controls/text-label-devel.h @@ -2,7 +2,7 @@ #define DALI_TOOLKIT_TEXT_LABEL_DEVEL_H /* - * Copyright (c) 2018 Samsung Electronics Co., Ltd. + * Copyright (c) 2020 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. @@ -34,7 +34,6 @@ namespace Property { enum Type { - RENDERING_BACKEND = Dali::Toolkit::TextLabel::Property::RENDERING_BACKEND, TEXT = Dali::Toolkit::TextLabel::Property::TEXT, FONT_FAMILY = Dali::Toolkit::TextLabel::Property::FONT_FAMILY, FONT_STYLE = Dali::Toolkit::TextLabel::Property::FONT_STYLE, @@ -42,12 +41,6 @@ namespace Property MULTI_LINE = Dali::Toolkit::TextLabel::Property::MULTI_LINE, HORIZONTAL_ALIGNMENT = Dali::Toolkit::TextLabel::Property::HORIZONTAL_ALIGNMENT, VERTICAL_ALIGNMENT = Dali::Toolkit::TextLabel::Property::VERTICAL_ALIGNMENT, - UNUSED_PROPERTY_TEXT_COLOR = Dali::Toolkit::TextLabel::Property::UNUSED_PROPERTY_TEXT_COLOR, - SHADOW_OFFSET = Dali::Toolkit::TextLabel::Property::SHADOW_OFFSET, - SHADOW_COLOR = Dali::Toolkit::TextLabel::Property::SHADOW_COLOR, - UNDERLINE_ENABLED = Dali::Toolkit::TextLabel::Property::UNDERLINE_ENABLED, - UNDERLINE_COLOR = Dali::Toolkit::TextLabel::Property::UNDERLINE_COLOR, - UNDERLINE_HEIGHT = Dali::Toolkit::TextLabel::Property::UNDERLINE_HEIGHT, ENABLE_MARKUP = Dali::Toolkit::TextLabel::Property::ENABLE_MARKUP, ENABLE_AUTO_SCROLL = Dali::Toolkit::TextLabel::Property::ENABLE_AUTO_SCROLL, AUTO_SCROLL_SPEED = Dali::Toolkit::TextLabel::Property::AUTO_SCROLL_SPEED, @@ -122,6 +115,36 @@ namespace Property * */ MATCH_SYSTEM_LANGUAGE_DIRECTION, + + /** + * @brief The text fit parameters. + * @details Name "textFit", type Property::MAP. + * @note The default value is false + * + * The textFit map contains the following keys: + * + * | %Property Name | Type | Required | Description | + * |----------------------|----------|----------|--------------------------------------------------------------------------------------------------------------------| + * | enable | BOOLEAN | No | True to enable the text fit or false to disable (the default value is false) | + * | minSize | FLOAT | No | Minimum Size for text fit (the default value is 10.f) | + * | maxSize | FLOAT | No | Maximum Size for text fit (the default value is 100.f) | + * | stepSize | FLOAT | No | Step Size for font increase (the default value is 1.f) | + * | fontSizeType | STRING | No | The size type of font, You can choose between "pointSize" or "pixelSize". (the default value is "pointSize") | + */ + TEXT_FIT, + + /** + * @brief Sets the height of the line in points. + * @details Name "lineSize", type Property::FLOAT. + * @note If the font size is larger than the line size, it works with the font size. + */ + MIN_LINE_SIZE, + + /** + * @brief The type of rendering e.g. bitmap-based. + * @details Name "renderingBackend", type Property::INT. + */ + RENDERING_BACKEND, }; } // namespace Property