Text Alignment Enums now public
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / public-api / text / text-enumerations.h
1 #ifndef DALI_TOOLKIT_TEXT_ENUMERATIONS_H
2 #define DALI_TOOLKIT_TEXT_ENUMERATIONS_H
3
4 /*
5  * Copyright (c) 2017 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 namespace Dali
22 {
23
24 namespace Toolkit
25 {
26
27 /**
28  * @addtogroup dali_toolkit_controls
29  * @{
30  */
31
32 namespace Text
33 {
34
35 /**
36  * @brief The available Horizontal alignments for text
37  * @SINCE_1_2.60
38  */
39 namespace HorizontalAlignment
40 {
41   /**
42    * @brief Enumerations for Horizontal alignment
43    *
44    * @SINCE_1_2.60
45    */
46   enum Type
47   {
48     BEGIN,   ///< @SINCE_1_2.60
49     CENTER,  ///< @SINCE_1_2.60
50     END      ///< @SINCE_1_2.60
51   };
52 }
53
54 /**
55  * @brief The available Vertical alignments for text
56  * @SINCE_1_2.60
57  */
58 namespace VerticalAlignment
59 {
60   /**
61    * @brief Enumerations for Vertical alignment
62    *
63    * @SINCE_1_2.60
64    */
65   enum Type
66   {
67     TOP,     ///< @SINCE_1_2.60
68     CENTER,  ///< @SINCE_1_2.60
69     BOTTOM   ///< @SINCE_1_2.60
70   };
71 }
72
73 } // Text
74
75 /**
76  * @}
77  */
78
79 } // Toolkit
80
81 } // Dali
82
83 #endif //DALI_TOOLKIT_TEXT_ENUMERATIONS_H