Fix FloatingButtonTest 29/119229/1
authorsung-su.kim <sung-su.kim@samsung.com>
Thu, 16 Mar 2017 05:16:54 +0000 (14:16 +0900)
committersung-su.kim <sung-su.kim@samsung.com>
Thu, 16 Mar 2017 05:16:54 +0000 (14:16 +0900)
Change-Id: Id56128aea2adb6916beb0a539fb2b6c873f27efb

ElmSharp.Test/TC/FloatingButtonTest.cs
ElmSharp/ElmSharp/FloatingButton.cs

index fe43eb2..61c0a62 100755 (executable)
@@ -53,7 +53,7 @@ namespace ElmSharp.Test
 
             FloatingButton floatingButton = new FloatingButton(window)
             {
-                Mode = FloatingButton.FloatingButtonMode.All,
+                Mode = FloatingButtonMode.All,
                 AlignmentY = -1,
                 AlignmentX = -1,
                 WeightX = 1,
@@ -74,14 +74,14 @@ namespace ElmSharp.Test
 
             Button button1 = CreateButton(window, "Mode change to LeftRightOnly");
             button1.Clicked += (s, e) => {
-                if (floatingButton.Mode == FloatingButton.FloatingButtonMode.All)
+                if (floatingButton.Mode == FloatingButtonMode.All)
                 {
-                    floatingButton.Mode = FloatingButton.FloatingButtonMode.LeftRightOnly;
+                    floatingButton.Mode = FloatingButtonMode.LeftRightOnly;
                     button1.Text = "Mode change to All";
                 }
                 else
                 {
-                    floatingButton.Mode = FloatingButton.FloatingButtonMode.All;
+                    floatingButton.Mode = FloatingButtonMode.All;
                     button1.Text = "Mode change to LeftRightOnly";
                 }
             };
index 30ae31b..f712bf1 100755 (executable)
@@ -91,20 +91,20 @@ namespace ElmSharp
         {
             return Interop.Eext.eext_floatingbutton_add(parent.Handle);
         }
+    }
 
-        public enum FloatingButtonMode
-        {
-            All,
-            LeftRightOnly,
-        }
+    public enum FloatingButtonMode
+    {
+        All,
+        LeftRightOnly,
+    }
 
-        public enum FloatingButtonPosition
-        {
-            LeftOut,
-            Left,
-            Center,
-            Right,
-            RightOut,
-        }
+    public enum FloatingButtonPosition
+    {
+        LeftOut,
+        Left,
+        Center,
+        Right,
+        RightOut,
     }
 }
\ No newline at end of file