Merge "Add a callback for navigation policy in web view." into devel/master
[platform/core/uifw/dali-toolkit.git] / dali-toolkit / devel-api / controls / text-controls / text-style-properties-devel.h
index b663105..6b6f3ab 100644 (file)
@@ -2,7 +2,7 @@
 #define DALI_TOOLKIT_TEXT_STYLE_PROPERTIES_DEVEL_H
 
 /*
- * Copyright (c) 2019 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
 {
-
 /**
  * @addtogroup dali_toolkit_controls
  * @{
@@ -31,17 +29,14 @@ namespace Toolkit
 
 namespace DevelText
 {
-
 namespace Shadow
 {
-
 /**
  * @brief Used by Text controls to show different styles of text.
  *
  */
 namespace Property
 {
-
 enum
 {
   /**
@@ -72,10 +67,8 @@ enum
 
 namespace Underline
 {
-
 namespace Property
 {
-
 enum
 {
   /**
@@ -106,10 +99,8 @@ enum
 
 namespace Outline
 {
-
 namespace Property
 {
-
 enum
 {
   /**
@@ -133,10 +124,8 @@ enum
 
 namespace Background
 {
-
 namespace Property
 {
-
 enum
 {
   /**
@@ -158,6 +147,38 @@ enum
 
 } // namespace Background
 
+namespace Strikethrough
+{
+namespace Property
+{
+enum
+{
+  /**
+   * @brief Whether the strikethrough is enabled.
+   * @details Name "enable", type Property::STRING or Property::BOOLEAN. i.e. "true", "false", true or false
+   * @note Optional. By default is disabled.
+   */
+  ENABLE,
+
+  /**
+   * @brief The color of the strikethrough.
+   * @details Name "color", type Property::STRING or Property::VECTOR4
+   * @note Optional. If not provided then the default color is black.
+   */
+  COLOR,
+
+  /**
+   * @brief The height in pixels of the strikethrough.
+   * @details Name "height", type Property::STRING or Property::FLOAT. i.e. "1.0" or 1.f
+   * @note Optional. If not provided then the default height is used (1 pixel).
+   */
+  HEIGHT
+};
+
+} // namespace Property
+
+} // namespace Strikethrough
+
 } // namespace DevelText
 
 /**