#define DALI_TOOLKIT_TEXT_ENUMERATIONS_H
/*
- * Copyright (c) 2017 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.
namespace Dali
{
-
namespace Toolkit
{
/**
namespace Text
{
-
/**
* @brief The available Horizontal alignments for text.
*
*/
namespace HorizontalAlignment
{
-
/**
* @brief Enumerations for Horizontal alignment.
*
*/
enum Type
{
- BEGIN, ///< @SINCE_1_2.60
- CENTER, ///< @SINCE_1_2.60
- END ///< @SINCE_1_2.60
+ BEGIN, ///< @SINCE_1_2.60
+ CENTER, ///< @SINCE_1_2.60
+ END ///< @SINCE_1_2.60
};
} // namespace HorizontalAlignment
*/
namespace VerticalAlignment
{
-
/**
* @brief Enumerations for Vertical alignment.
*
*/
enum Type
{
- TOP, ///< @SINCE_1_2.60
- CENTER, ///< @SINCE_1_2.60
- BOTTOM ///< @SINCE_1_2.60
+ TOP, ///< @SINCE_1_2.60
+ CENTER, ///< @SINCE_1_2.60
+ BOTTOM ///< @SINCE_1_2.60
};
} // namespace VerticalAlignment
*/
namespace LineWrap
{
-
/**
* @brief Enumerations specifying how a line is wrapped.
* @SINCE_1_2.60
*/
enum Mode
{
- WORD, ///< @SINCE_1_2.60
- CHARACTER ///< @SINCE_1_2.60
+ WORD, ///< @SINCE_1_2.60
+ CHARACTER ///< @SINCE_1_2.60
};
} // namespace LineWrap
+/**
+ * @brief The available underline types for text.
+ * @SINCE_1_2.60
+ */
+namespace Underline
+{
+/**
+ * @brief Enumerations specifying the underline type.
+ */
+enum Type
+{
+ SOLID,
+ DASHED,
+ DOUBLE
+};
+
+} // namespace UnderlineType
+
} // namespace Text
/**