From c79d1288ad72e04a890cbc6e8248ea0ad1df952d Mon Sep 17 00:00:00 2001 From: Seoyeon Kim Date: Fri, 9 Apr 2021 10:43:04 +0900 Subject: [PATCH] [NUI] Update reviews for IndeterminateImageUrl Signed-off-by: Seoyeon Kim --- src/Tizen.NUI.Components/Controls/Progress.cs | 4 ++-- src/Tizen.NUI.Components/Style/ProgressStyle.cs | 4 ++-- src/Tizen.NUI.Components/Theme/DefaultTheme.cs | 2 +- src/Tizen.NUI.Components/Theme/DefaultThemeCommon.cs | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Tizen.NUI.Components/Controls/Progress.cs b/src/Tizen.NUI.Components/Controls/Progress.cs index 9e0e86b..985d705 100755 --- a/src/Tizen.NUI.Components/Controls/Progress.cs +++ b/src/Tizen.NUI.Components/Controls/Progress.cs @@ -409,9 +409,9 @@ namespace Tizen.NUI.Components progressImage.ApplyStyle(progressStyle.Progress); bufferImage.ApplyStyle(progressStyle.Buffer); - if (null != indeterminateImage && null != progressStyle.Indeterminate) + if (null != indeterminateImage && null != progressStyle.IndeterminateImageUrl) { - indeterminateImage.URL = progressStyle.Indeterminate; + indeterminateImage.URL = progressStyle.IndeterminateImageUrl; } } } diff --git a/src/Tizen.NUI.Components/Style/ProgressStyle.cs b/src/Tizen.NUI.Components/Style/ProgressStyle.cs index c2376e0..3d53588 100755 --- a/src/Tizen.NUI.Components/Style/ProgressStyle.cs +++ b/src/Tizen.NUI.Components/Style/ProgressStyle.cs @@ -67,7 +67,7 @@ namespace Tizen.NUI.Components /// Gets or sets indeterminate progress resource. /// [EditorBrowsable(EditorBrowsableState.Never)] - public string Indeterminate { get; set; } + public string IndeterminateImageUrl { get; set; } /// /// Style's clone function. @@ -83,7 +83,7 @@ namespace Tizen.NUI.Components Track.CopyFrom(progressStyle.Track); Progress.CopyFrom(progressStyle.Progress); Buffer.CopyFrom(progressStyle.Buffer); - Indeterminate = progressStyle.Indeterminate; + IndeterminateImageUrl = progressStyle.IndeterminateImageUrl; } } } diff --git a/src/Tizen.NUI.Components/Theme/DefaultTheme.cs b/src/Tizen.NUI.Components/Theme/DefaultTheme.cs index e6d4ffa..84323f2 100755 --- a/src/Tizen.NUI.Components/Theme/DefaultTheme.cs +++ b/src/Tizen.NUI.Components/Theme/DefaultTheme.cs @@ -75,7 +75,7 @@ namespace Tizen.NUI.Components .AddSelector("/Track/ResourceUrl", (ViewStyle style, Selector value) => ((ProgressStyle)style).Track.ResourceUrl = value) .AddSelector("/Buffer/ResourceUrl", (ViewStyle style, Selector value) => ((ProgressStyle)style).Buffer.ResourceUrl = value) .AddSelector("/Progress/ResourceUrl", (ViewStyle style, Selector value) => ((ProgressStyle)style).Progress.ResourceUrl = value) - .Add("/Indeterminate", (ViewStyle style, string value) => ((ProgressStyle)style).Indeterminate = value), + .Add("/IndeterminateImageUrl", (ViewStyle style, string value) => ((ProgressStyle)style).IndeterminateImageUrl = value), // Slider (new ExternalThemeKeyList(typeof(Slider), typeof(SliderStyle))) diff --git a/src/Tizen.NUI.Components/Theme/DefaultThemeCommon.cs b/src/Tizen.NUI.Components/Theme/DefaultThemeCommon.cs index 0dbfc0e..c858096 100755 --- a/src/Tizen.NUI.Components/Theme/DefaultThemeCommon.cs +++ b/src/Tizen.NUI.Components/Theme/DefaultThemeCommon.cs @@ -132,7 +132,7 @@ namespace Tizen.NUI.Components { BackgroundColor = new Color(0.05f, 0.63f, 0.9f, 1), }, - Indeterminate = FrameworkInformation.ResourcePath + "nui_component_default_progress_indeterminate.png", + IndeterminateImageUrl = FrameworkInformation.ResourcePath + "nui_component_default_progress_indeterminate.png", }); theme.AddStyleWithoutClone("Tizen.NUI.Components.RadioButton", new ButtonStyle() -- 2.7.4