Merge "Add ThemeOverlay() API in Elementary." into devel/dotnet
[platform/core/csapi/tizenfx.git] / src / ElmSharp / ElmSharp / Elementary.cs
index 051a91f..42ba886 100644 (file)
@@ -26,10 +26,6 @@ namespace ElmSharp
         public static void Initialize()
         {
             Interop.Elementary.elm_init(0, null);
-            if (File.Exists(_themeFilePath))
-            {
-                Interop.Elementary.elm_theme_overlay_add(IntPtr.Zero, _themeFilePath);
-            }
         }
 
         public static void Shutdown()
@@ -42,6 +38,14 @@ namespace ElmSharp
             Interop.Elementary.elm_run();
         }
 
+        public static void ThemeOverlay()
+        {
+            if (File.Exists(_themeFilePath))
+            {
+                Interop.Elementary.elm_theme_overlay_add(IntPtr.Zero, _themeFilePath);
+            }
+        }
+
         public static double GetSystemScrollFriction()
         {
             return Interop.Elementary.elm_config_scroll_bring_in_scroll_friction_get();