Merge "Text background support for TextLabel" into devel/master
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / devel-api / visuals / text-visual-properties-devel.h
1 #ifndef DALI_TOOLKIT_DEVEL_API_VISUALS_TEXT_VISUAL_PROPERTIES_DEVEL_H
2 #define DALI_TOOLKIT_DEVEL_API_VISUALS_TEXT_VISUAL_PROPERTIES_DEVEL_H
3
4 /*
5  * Copyright (c) 2018 Samsung Electronics Co., Ltd.
6  *
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  * http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  *
19  */
20
21 // INTERNAL INCLUDES
22 #include <dali-toolkit/public-api/visuals/text-visual-properties.h>
23
24 namespace Dali
25 {
26
27 namespace Toolkit
28 {
29
30 namespace DevelTextVisual
31 {
32
33 namespace Property
34 {
35
36 /**
37  * @brief All the visual types.
38  */
39 enum
40 {
41   TEXT                  = Dali::Toolkit::TextVisual::Property::TEXT,
42   FONT_FAMILY           = Dali::Toolkit::TextVisual::Property::FONT_FAMILY,
43   FONT_STYLE            = Dali::Toolkit::TextVisual::Property::FONT_STYLE,
44   POINT_SIZE            = Dali::Toolkit::TextVisual::Property::POINT_SIZE,
45   MULTI_LINE            = Dali::Toolkit::TextVisual::Property::MULTI_LINE,
46   HORIZONTAL_ALIGNMENT  = Dali::Toolkit::TextVisual::Property::HORIZONTAL_ALIGNMENT,
47   VERTICAL_ALIGNMENT    = Dali::Toolkit::TextVisual::Property::VERTICAL_ALIGNMENT,
48   TEXT_COLOR            = Dali::Toolkit::TextVisual::Property::TEXT_COLOR,
49   ENABLE_MARKUP         = Dali::Toolkit::TextVisual::Property::ENABLE_MARKUP,
50   SHADOW                = Dali::Toolkit::TextVisual::Property::SHADOW,
51   UNDERLINE             = Dali::Toolkit::TextVisual::Property::UNDERLINE,
52
53   /**
54    * @brief The default outline parameters.
55    * @details name "outline", type Property::MAP.
56    */
57   OUTLINE               = UNDERLINE + 1,
58
59   /**
60    * @copydoc Dali::Toolkit::DevelTextLabel::Property::BACKGROUND
61    */
62   BACKGROUND            = UNDERLINE + 2,
63 };
64
65
66 } // namespace Property
67
68 } // namespace DevelTextVisual
69
70 } // namespace Toolkit
71
72 } // namespace Dali
73
74 #endif // DALI_TOOLKIT_DEVEL_API_VISUALS_TEXT_VISUAL_PROPERTIES_DEVEL_H