[NUI] Update reviews for IndeterminateImageUrl
authorSeoyeon Kim <seoyeon2.kim@samsung.com>
Fri, 9 Apr 2021 01:43:04 +0000 (10:43 +0900)
committerhuiyueun <35286162+huiyueun@users.noreply.github.com>
Tue, 20 Apr 2021 06:13:00 +0000 (15:13 +0900)
Signed-off-by: Seoyeon Kim <seoyeon2.kim@samsung.com>
src/Tizen.NUI.Components/Controls/Progress.cs
src/Tizen.NUI.Components/Style/ProgressStyle.cs
src/Tizen.NUI.Components/Theme/DefaultTheme.cs
src/Tizen.NUI.Components/Theme/DefaultThemeCommon.cs

index 9e0e86b..985d705 100755 (executable)
@@ -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;
                 }
             }
         }
index c2376e0..3d53588 100755 (executable)
@@ -67,7 +67,7 @@ namespace Tizen.NUI.Components
         /// Gets or sets indeterminate progress resource.
         /// </summary>
         [EditorBrowsable(EditorBrowsableState.Never)]
-        public string Indeterminate { get; set; }
+        public string IndeterminateImageUrl { get; set; }
 
         /// <summary>
         /// 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;
             }
         }
     }
index e6d4ffa..84323f2 100755 (executable)
@@ -75,7 +75,7 @@ namespace Tizen.NUI.Components
                     .AddSelector("/Track/ResourceUrl", (ViewStyle style, Selector<string> value) => ((ProgressStyle)style).Track.ResourceUrl = value)
                     .AddSelector("/Buffer/ResourceUrl", (ViewStyle style, Selector<string> value) => ((ProgressStyle)style).Buffer.ResourceUrl = value)
                     .AddSelector("/Progress/ResourceUrl", (ViewStyle style, Selector<string> value) => ((ProgressStyle)style).Progress.ResourceUrl = value)
-                    .Add<string>("/Indeterminate", (ViewStyle style, string value) => ((ProgressStyle)style).Indeterminate = value),
+                    .Add<string>("/IndeterminateImageUrl", (ViewStyle style, string value) => ((ProgressStyle)style).IndeterminateImageUrl = value),
 
                 // Slider
                 (new ExternalThemeKeyList(typeof(Slider), typeof(SliderStyle)))
index 0dbfc0e..c858096 100755 (executable)
@@ -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()