Merge "[ElmSharp] Introduce EvasImage"
[platform/core/csapi/tizenfx.git] / src / ElmSharp / ElmSharp / Elementary.cs
old mode 100644 (file)
new mode 100755 (executable)
index cf26c57..bd90845
@@ -21,6 +21,25 @@ using System.IO;
 namespace ElmSharp
 {
     /// <summary>
+    /// Focus Autoscroll Mode
+    /// </summary>
+    public enum FocusAutoScrollMode
+    {
+        /// <summary>
+        /// Directly show the focused region or item automatically
+        /// </summary>
+        Show,
+        /// <summary>
+        /// Do not show the focused region or item automatically
+        /// </summary>
+        None,
+        /// <summary>
+        /// Bring in the focused region or item automatically which might invole the scrolling
+        /// </summary>
+        BringIn
+    }
+
+    /// <summary>
     /// The Elementary is a General Elementary,a VERY SIMPLE toolkit.
     /// </summary>
     public static class Elementary
@@ -134,6 +153,21 @@ namespace ElmSharp
         }
 
         /// <summary>
+        /// Gets of sets focus auto scroll mode.
+        /// </summary>
+        public static FocusAutoScrollMode FocusAutoScrollMode
+        {
+            get
+            {
+                return (FocusAutoScrollMode)Interop.Elementary.elm_config_focus_autoscroll_mode_get();
+            }
+            set
+            {
+                Interop.Elementary.elm_config_focus_autoscroll_mode_set((Interop.Elementary.Elm_Focus_Autoscroll_Mode)value);
+            }
+        }
+
+        /// <summary>
         /// Initializes Elementary.
         /// </summary>
         public static void Initialize()
@@ -157,9 +191,6 @@ namespace ElmSharp
             Interop.Elementary.elm_run();
         }
 
-        /// <summary>
-        /// Prepends a theme overlay to the list of overlays.
-        /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public static void ThemeOverlay()
         {
@@ -230,52 +261,30 @@ namespace ElmSharp
             Interop.Elementary.elm_theme_extension_del(IntPtr.Zero, item);
         }
 
-        /// <summary>
-        /// Gets the amount of inertia a scroller imposes during region bring animations.
-        /// </summary>
-        /// <returns>The bring in scroll friction</returns>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public static double GetSystemScrollFriction()
         {
             return BringInScrollFriction;
         }
 
-        /// <summary>
-        /// Sets the amount of inertia a scroller imposes during region bring animations.
-        /// </summary>
-        /// <param name="timeSet">The bring in scroll friction</param>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public static void SetSystemScrollFriction(double timeSet)
         {
             BringInScrollFriction = timeSet;
         }
 
-        /// <summary>
-        /// Gets Elementary's profile in use.
-        /// </summary>
-        /// <returns>The profile name</returns>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public static string GetProfile()
         {
             return Interop.Elementary.elm_config_profile_get();
         }
 
-        /// <summary>
-        /// Sets the global scaling factor.
-        /// This sets the globally configured scaling factor that is applied to all objects.
-        /// </summary>
-        /// <param name="scale">The scaling factor to set</param>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public static void SetScale(double scale)
         {
             Scale = scale;
         }
 
-        /// <summary>
-        /// Gets the global scaling factor.
-        /// This gets the globally configured scaling factor that is applied to all objects.
-        /// </summary>
-        /// <returns>The scaling factor</returns>
         [EditorBrowsable(EditorBrowsableState.Never)]
         public static double GetScale()
         {
@@ -311,9 +320,7 @@ namespace ElmSharp
             return Interop.Elementary.elm_policy_set(policy, value);
         }
 
-        /// <summary>
-        /// Reloads Elementary's configuration, bounded to the current selected profile.
-        /// </summary>
+        [EditorBrowsable(EditorBrowsableState.Never)]
         public static void ReloadConfig()
         {
             Interop.Elementary.elm_config_reload();
@@ -327,4 +334,4 @@ namespace ElmSharp
             Interop.Elementary.elm_config_all_flush();
         }
     }
-}
\ No newline at end of file
+}