1 #ifndef DALI_TOOLKIT_TEXT_ENUMERATIONS_H
2 #define DALI_TOOLKIT_TEXT_ENUMERATIONS_H
5 * Copyright (c) 2017 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.
27 * @addtogroup dali_toolkit_controls_text_controls
35 * @brief The available Horizontal alignments for text.
39 namespace HorizontalAlignment
43 * @brief Enumerations for Horizontal alignment.
49 BEGIN, ///< @SINCE_1_2.60
50 CENTER, ///< @SINCE_1_2.60
51 END ///< @SINCE_1_2.60
54 } // namespace HorizontalAlignment
57 * @brief The available Vertical alignments for text.
61 namespace VerticalAlignment
65 * @brief Enumerations for Vertical alignment.
71 TOP, ///< @SINCE_1_2.60
72 CENTER, ///< @SINCE_1_2.60
73 BOTTOM ///< @SINCE_1_2.60
76 } // namespace VerticalAlignment
79 * @brief Contains modes which specify how lines are wrapped.
81 * If the layout width is too short to show the full text, then a wrapping mode can be specified.
83 * LineWrap::WORD mode will move an entire word to the next line:
91 * LineWrap::CHARACTER mode will move character by character to the next line:
105 * @brief Enumerations specifying how a line is wrapped.
111 WORD, ///< @SINCE_1_2.60
112 CHARACTER ///< @SINCE_1_2.60
115 } // namespace LineWrap
123 } // namespace Toolkit
127 #endif //DALI_TOOLKIT_TEXT_ENUMERATIONS_H