[Non-ACR][NUI] Fix build error 91/257091/2
authorDongsug Song <dongsug.song@samsung.com>
Mon, 19 Apr 2021 08:42:44 +0000 (17:42 +0900)
committerDongsug Song <dongsug.song@samsung.com>
Mon, 19 Apr 2021 08:45:07 +0000 (17:45 +0900)
Change-Id: I2ed054922c97367497fc90738e62ff6635c1811c

tct-suite-vs/Tizen.NUI.Components.Manual.Tests/ManualTestPage.cs
tct-suite-vs/Tizen.NUI.Manual.Tests/ManualTestPage.cs
tct-suite-vs/Tizen.NUI.Wearable.Manual.Tests/ManualTestPage.cs
tct-suite-vs/Tizen.NUI.WindowSystem.Manual.Tests/ManualTestPage.cs [changed mode: 0644->0755]

index 8844928..47a07ae 100755 (executable)
@@ -68,10 +68,10 @@ namespace Tizen.NUI.Components.Tests
                     btn.Size = new Size(Window.Instance.Size.Width, Window.Instance.Size.Height * 0.046f);
                     btn.TextColor = new Color(0, 0, 0, 1);\r
                     btn.ImageShadow = new ImageShadow\r
-                    {\r
-                        Url = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",\r
-                        Border = new Rectangle(5, 5, 5, 5)\r
-                    };\r
+                    (\r
+                        Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",\r
+                        new Rectangle(5, 5, 5, 5)\r
+                    );\r
                     btn.BackgroundImage = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_toggle_btn_normal.png";\r
                     btn.BackgroundImageBorder = new Rectangle(5, 5, 5, 5);\r
                     btn.FocusGained += (obj, e) =>\r
@@ -244,10 +244,10 @@ namespace Tizen.NUI.Components.Tests
             btn.Size = new Size(buttonWidth, Window.Instance.Size.Height * 0.046f);\r
             btn.TextColor = new Color(0, 0, 0, 1);\r
             btn.ImageShadow = new ImageShadow
-            {\r
-                Url = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",\r
-                Border = new Rectangle(5, 5, 5, 5)\r
-            };\r
+            (\r
+                Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",\r
+                new Rectangle(5, 5, 5, 5)\r
+            );\r
             btn.BackgroundImage = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_toggle_btn_normal.png";
             btn.BackgroundImageBorder = new Rectangle(5, 5, 5, 5);\r
             btn.ParentOrigin = Position.ParentOriginTopLeft;\r
index 099dfd2..2ee62af 100755 (executable)
@@ -68,10 +68,10 @@ namespace Tizen.NUI.Tests
                     btn.Size = new Size(Window.Instance.Size.Width, Window.Instance.Size.Height * 0.046f);
                     btn.TextColor = new Color(0, 0, 0, 1);
                     btn.ImageShadow = new ImageShadow
-                    {
-                        Url = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",
-                        Border = new Rectangle(5, 5, 5, 5)
-                    };
+                    (
+                        Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",
+                        new Rectangle(5, 5, 5, 5)
+                    );
                     btn.BackgroundImage = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_toggle_btn_normal.png";
                     btn.BackgroundImageBorder = new Rectangle(5, 5, 5, 5);
                     btn.FocusGained += (obj, e) =>
@@ -244,10 +244,10 @@ namespace Tizen.NUI.Tests
             btn.Size = new Size(buttonWidth, Window.Instance.Size.Height * 0.046f);
             btn.TextColor = new Color(0, 0, 0, 1);
             btn.ImageShadow = new ImageShadow
-            {
-                Url = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",
-                Border = new Rectangle(5, 5, 5, 5)
-            };
+            (
+                Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",
+                new Rectangle(5, 5, 5, 5)
+            );
             btn.BackgroundImage = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_toggle_btn_normal.png";
             btn.BackgroundImageBorder = new Rectangle(5, 5, 5, 5);
             btn.ParentOrigin = Position.ParentOriginTopLeft;
index 0402868..af87df6 100755 (executable)
@@ -68,10 +68,10 @@ namespace Tizen.NUI.Wearable.Tests
                     btn.Size = new Size(Window.Instance.Size.Width * 0.4f, Window.Instance.Size.Height * 0.046f);
                     btn.Style.Text.TextColor = new Color(0, 0, 0, 1);
                     btn.Style.ImageShadow = new ImageShadow
-                    {
-                        Url = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",
-                        Border = new Rectangle(5, 5, 5, 5)
-                    };
+                    (
+                        Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",
+                        new Rectangle(5, 5, 5, 5)
+                    );
                     btn.Style.BackgroundImage = new Selector<string>
                     {
                         Focused = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_point_btn_normal.png",
@@ -249,10 +249,10 @@ namespace Tizen.NUI.Wearable.Tests
             btn.Size = new Size(Window.Instance.Size.Width * 0.06f, Window.Instance.Size.Height * 0.046f);
             btn.Style.Text.TextColor = new Color(0, 0, 0, 1);
             btn.Style.ImageShadow = new ImageShadow
-            {
-                Url = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",
-                Border = new Rectangle(5, 5, 5, 5)
-            };
+            (
+                Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",
+                new Rectangle(5, 5, 5, 5)
+            );
             btn.Style.BackgroundImage = new Selector<string>
             {
                 Focused = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_point_btn_normal.png",
old mode 100644 (file)
new mode 100755 (executable)
index 81ee125..4aa386c
@@ -69,10 +69,10 @@ namespace Tizen.NUI.WindowSystem.Tests
                     btn.Size = new Size(Window.Instance.Size.Width, Window.Instance.Size.Height * 0.046f);\r
                     btn.TextColor = new Color(0, 0, 0, 1);\r
                     btn.ImageShadow = new ImageShadow\r
-                    {\r
-                        Url = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",\r
-                        Border = new Rectangle(5, 5, 5, 5)\r
-                    };\r
+                    (\r
+                        Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",\r
+                        new Rectangle(5, 5, 5, 5)\r
+                    );\r
                     btn.BackgroundImage = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_toggle_btn_normal.png";\r
                     btn.BackgroundImageBorder = new Rectangle(5, 5, 5, 5);\r
                     btn.FocusGained += (obj, e) =>\r
@@ -246,10 +246,10 @@ namespace Tizen.NUI.WindowSystem.Tests
             btn.Size = new Size(buttonWidth, Window.Instance.Size.Height * 0.046f);\r
             btn.TextColor = new Color(0, 0, 0, 1);\r
             btn.ImageShadow = new ImageShadow\r
-            {\r
-                Url = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",\r
-                Border = new Rectangle(5, 5, 5, 5)\r
-            };\r
+            (\r
+                Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_btn_shadow.png",\r
+                new Rectangle(5, 5, 5, 5)\r
+            );\r
             btn.BackgroundImage = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_toggle_btn_normal.png";\r
             btn.BackgroundImageBorder = new Rectangle(5, 5, 5, 5);\r
             btn.ParentOrigin = Position.ParentOriginTopLeft;\r