From: sung-su.kim Date: Thu, 16 Mar 2017 05:16:54 +0000 (+0900) Subject: Fix FloatingButtonTest X-Git-Tag: accepted/tizen/common/20170316.161742^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=71b6248763547ca216d98400efbb2efab70832a4;p=platform%2Fcore%2Fcsapi%2Felm-sharp.git Fix FloatingButtonTest Change-Id: Id56128aea2adb6916beb0a539fb2b6c873f27efb --- diff --git a/ElmSharp.Test/TC/FloatingButtonTest.cs b/ElmSharp.Test/TC/FloatingButtonTest.cs index fe43eb2..61c0a62 100755 --- a/ElmSharp.Test/TC/FloatingButtonTest.cs +++ b/ElmSharp.Test/TC/FloatingButtonTest.cs @@ -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"; } }; diff --git a/ElmSharp/ElmSharp/FloatingButton.cs b/ElmSharp/ElmSharp/FloatingButton.cs index 30ae31b..f712bf1 100755 --- a/ElmSharp/ElmSharp/FloatingButton.cs +++ b/ElmSharp/ElmSharp/FloatingButton.cs @@ -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