From 8d8c78f846dd638c10aa74c1a9a792bd2813df8a Mon Sep 17 00:00:00 2001 From: Dongsug Song Date: Mon, 19 Apr 2021 17:42:44 +0900 Subject: [PATCH] [Non-ACR][NUI] Fix build error Change-Id: I2ed054922c97367497fc90738e62ff6635c1811c --- .../Tizen.NUI.Components.Manual.Tests/ManualTestPage.cs | 16 ++++++++-------- tct-suite-vs/Tizen.NUI.Manual.Tests/ManualTestPage.cs | 16 ++++++++-------- .../Tizen.NUI.Wearable.Manual.Tests/ManualTestPage.cs | 16 ++++++++-------- .../ManualTestPage.cs | 16 ++++++++-------- 4 files changed, 32 insertions(+), 32 deletions(-) mode change 100644 => 100755 tct-suite-vs/Tizen.NUI.WindowSystem.Manual.Tests/ManualTestPage.cs diff --git a/tct-suite-vs/Tizen.NUI.Components.Manual.Tests/ManualTestPage.cs b/tct-suite-vs/Tizen.NUI.Components.Manual.Tests/ManualTestPage.cs index 8844928..47a07ae 100755 --- a/tct-suite-vs/Tizen.NUI.Components.Manual.Tests/ManualTestPage.cs +++ b/tct-suite-vs/Tizen.NUI.Components.Manual.Tests/ManualTestPage.cs @@ -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); 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.Components.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; diff --git a/tct-suite-vs/Tizen.NUI.Manual.Tests/ManualTestPage.cs b/tct-suite-vs/Tizen.NUI.Manual.Tests/ManualTestPage.cs index 099dfd2..2ee62af 100755 --- a/tct-suite-vs/Tizen.NUI.Manual.Tests/ManualTestPage.cs +++ b/tct-suite-vs/Tizen.NUI.Manual.Tests/ManualTestPage.cs @@ -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; diff --git a/tct-suite-vs/Tizen.NUI.Wearable.Manual.Tests/ManualTestPage.cs b/tct-suite-vs/Tizen.NUI.Wearable.Manual.Tests/ManualTestPage.cs index 0402868..af87df6 100755 --- a/tct-suite-vs/Tizen.NUI.Wearable.Manual.Tests/ManualTestPage.cs +++ b/tct-suite-vs/Tizen.NUI.Wearable.Manual.Tests/ManualTestPage.cs @@ -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 { 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 { Focused = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "/images/rectangle_point_btn_normal.png", diff --git a/tct-suite-vs/Tizen.NUI.WindowSystem.Manual.Tests/ManualTestPage.cs b/tct-suite-vs/Tizen.NUI.WindowSystem.Manual.Tests/ManualTestPage.cs old mode 100644 new mode 100755 index 81ee125..4aa386c --- a/tct-suite-vs/Tizen.NUI.WindowSystem.Manual.Tests/ManualTestPage.cs +++ b/tct-suite-vs/Tizen.NUI.WindowSystem.Manual.Tests/ManualTestPage.cs @@ -69,10 +69,10 @@ namespace Tizen.NUI.WindowSystem.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) => @@ -246,10 +246,10 @@ namespace Tizen.NUI.WindowSystem.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; -- 2.7.4