1 #ifndef DALI_TOOLKIT_TEXT_ENUMERATIONS_H
2 #define DALI_TOOLKIT_TEXT_ENUMERATIONS_H
5 * Copyright (c) 2020 Samsung Electronics Co., Ltd.
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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.
26 * @addtogroup dali_toolkit_controls_text_controls
33 * @brief The available Horizontal alignments for text.
37 namespace HorizontalAlignment
40 * @brief Enumerations for Horizontal alignment.
46 BEGIN, ///< @SINCE_1_2.60
47 CENTER, ///< @SINCE_1_2.60
48 END ///< @SINCE_1_2.60
51 } // namespace HorizontalAlignment
54 * @brief The available Vertical alignments for text.
58 namespace VerticalAlignment
61 * @brief Enumerations for Vertical alignment.
67 TOP, ///< @SINCE_1_2.60
68 CENTER, ///< @SINCE_1_2.60
69 BOTTOM ///< @SINCE_1_2.60
72 } // namespace VerticalAlignment
75 * @brief Contains modes which specify how lines are wrapped.
77 * If the layout width is too short to show the full text, then a wrapping mode can be specified.
79 * LineWrap::WORD mode will move an entire word to the next line:
87 * LineWrap::CHARACTER mode will move character by character to the next line:
100 * @brief Enumerations specifying how a line is wrapped.
106 WORD, ///< @SINCE_1_2.60
107 CHARACTER ///< @SINCE_1_2.60
110 } // namespace LineWrap
113 * @brief The available underline types for text.
119 * @brief Enumerations specifying the underline type.
128 } // namespace UnderlineType
136 } // namespace Toolkit
140 #endif //DALI_TOOLKIT_TEXT_ENUMERATIONS_H