Add Window IsTransparent property 68/117368/2
authorDonghee Ye <donghee.ye@samsung.com>
Mon, 6 Mar 2017 01:28:38 +0000 (10:28 +0900)
committerDonghee Ye <donghee.ye@samsung.com>
Mon, 6 Mar 2017 11:11:39 +0000 (20:11 +0900)
Change-Id: I9115d8e9f5dc9f6123e446da5fbe9ca8d6363074

ElmSharp/ElmSharp/Window.cs
ElmSharp/Interop/Interop.Elementary.Win.cs

index 3409b2d..0bb0df7 100644 (file)
@@ -149,6 +149,18 @@ namespace ElmSharp
             }
         }
 
+        public bool Alpha
+        {
+            get
+            {
+                return Interop.Elementary.elm_win_alpha_get(Handle);
+            }
+            set
+            {
+                Interop.Elementary.elm_win_alpha_set(Handle, value);
+            }
+        }
+
         public StatusBarMode StatusBarMode
         {
             get
index aadc2de..345e918 100644 (file)
@@ -52,6 +52,12 @@ internal static partial class Interop
         internal static extern void elm_win_resize_object_add(IntPtr obj, IntPtr subobj);
 
         [DllImport(Libraries.Elementary)]
+        internal static extern bool elm_win_alpha_get(IntPtr obj);
+
+        [DllImport(Libraries.Elementary)]
+        internal static extern void elm_win_alpha_set(IntPtr obj, bool alpha);
+
+        [DllImport(Libraries.Elementary)]
         internal static extern void elm_win_autodel_set(IntPtr obj, bool autodel);
 
         [DllImport(Libraries.Elementary)]