(Indicator) Added SetIndicatorStyle()
[platform/core/uifw/dali-adaptor.git] / capi / dali / public-api / adaptor-framework / common / window.h
index 4887315..1698cca 100644 (file)
@@ -87,6 +87,14 @@ public:
     AUTO = 2 // hide in default, will show when necessary
   };
 
+  /**
+   * @brief Style of the indicator.
+   */
+  enum IndicatorStyle
+  {
+    FIXED_COLOR = 0, // fixed color style
+    CHANGEABLE_COLOR // changeable color style
+  };
 
   // Methods
 
@@ -118,6 +126,14 @@ public:
   using BaseHandle::operator=;
 
   /**
+   * @brief This sets the style of indicator
+   * @param[in] style style type of the indicator
+   *
+   * @note This should be called before ShowIndicator()
+   */
+  void SetIndicatorStyle( IndicatorStyle style );
+
+  /**
    * @brief This sets whether the indicator bar should be shown or not.
    * @param[in] show - true if the indicator bar should be shown
    * @deprecated use "void ShowIndicator( IndicatorVisibleMode visibleMode )"