(Indicator) Implemented AUTO visible mode for indicator
[platform/core/uifw/dali-adaptor.git] / capi / dali / public-api / adaptor-framework / common / window.h
index 517b5bc..a50f520 100644 (file)
@@ -76,6 +76,17 @@ public:
     TRANSPARENT = 0 // Fully transparent indicator Bg
   };
 
+  /**
+   * @brief Visible mode of the indicator.
+   */
+  enum IndicatorVisibleMode
+  {
+    INVISIBLE = 0, // hide indicator
+    VISIBLE = 1, // show indicator
+    AUTO = 2 // hide in default, will show when necessary
+  };
+
+
   // Methods
 
   /**
@@ -108,10 +119,17 @@ public:
   /**
    * @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 )"
    */
   void ShowIndicator( bool show );
 
   /**
+   * @brief This sets whether the indicator bar should be shown or not.
+   * @param[in] visibleMode visible mode for indicator bar, VISIBLE in default
+   */
+  void ShowIndicator( IndicatorVisibleMode visibleMode );
+
+  /**
    * @brief This sets the opacity mode of indicator bar.
    * @param[in] opacity - The opacity mode
    */