X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FElmSharp.Wearable%2FElmSharp.Wearable%2FCircleProgressBar.cs;h=ff97d0e45bf2c1b5c2d4d44e349c6a1ee5420fb6;hb=cc07997c2c942822c5d8c72db49b238a201a8946;hp=843b8aaefc378934c72569cab63326b0e473b564;hpb=9846967ba5995d3a23e9d4419cec5113d438e858;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git diff --git a/src/ElmSharp.Wearable/ElmSharp.Wearable/CircleProgressBar.cs b/src/ElmSharp.Wearable/ElmSharp.Wearable/CircleProgressBar.cs index 843b8aa..ff97d0e 100644 --- a/src/ElmSharp.Wearable/ElmSharp.Wearable/CircleProgressBar.cs +++ b/src/ElmSharp.Wearable/ElmSharp.Wearable/CircleProgressBar.cs @@ -24,6 +24,7 @@ namespace ElmSharp.Wearable /// /// The Circle ProgressBar is a widget for visually representing the progress status of a given job/task with the circular design. /// + /// preview public class CircleProgressBar : Widget, ICircleWidget { CircleSurface _surface; @@ -33,6 +34,7 @@ namespace ElmSharp.Wearable /// /// The parent of new Circle Progressbar instance /// The surface for drawing circle features for this widget. + /// preview public CircleProgressBar(EvasObject parent, CircleSurface surface) : base() { Debug.Assert(parent == null || surface == null || parent.IsRealized); @@ -44,6 +46,7 @@ namespace ElmSharp.Wearable /// Creates and initializes a new instance of the Circle Progressbar class. /// /// The parent of new Circle Progressbar instance + /// preview [Obsolete("It is not safe for guess circle surface from parent and create new surface by every new widget")] [EditorBrowsable(EditorBrowsableState.Never)] public CircleProgressBar(EvasObject parent) : this(parent, CircleSurface.CreateCircleSurface(parent)) @@ -53,16 +56,19 @@ namespace ElmSharp.Wearable /// /// Gets the handle for Circle Widget. /// + /// preview public virtual IntPtr CircleHandle => Handle; /// /// Gets the handle for Circle Surface used in this widget /// + /// preview public virtual CircleSurface CircleSurface => _surface; /// /// Sets or gets disabled state of this widget. /// + /// preview [Obsolete("Use IsEnabled")] [EditorBrowsable(EditorBrowsableState.Never)] public bool Disabled @@ -74,6 +80,7 @@ namespace ElmSharp.Wearable /// /// Sets or gets the state of the widget, which might be enabled or disabled. /// + /// preview public override bool IsEnabled { get @@ -89,6 +96,7 @@ namespace ElmSharp.Wearable /// /// Sets or gets the value of ProgressBar. /// + /// preview public double Value { get @@ -104,6 +112,7 @@ namespace ElmSharp.Wearable /// /// Sets or gets the maximum value of ProgressBar. /// + /// preview public double Maximum { get @@ -123,6 +132,7 @@ namespace ElmSharp.Wearable /// /// Sets or gets the minimum value of ProgressBar. /// + /// preview public double Minimum { get @@ -142,6 +152,7 @@ namespace ElmSharp.Wearable /// /// Sets or gets the angle value of ProgressBar. /// + /// preview public double BarAngle { get @@ -157,6 +168,7 @@ namespace ElmSharp.Wearable /// /// Sets or gets the angle value of Background ProgressBar. /// + /// preview public double BackgroundAngle { get @@ -172,6 +184,7 @@ namespace ElmSharp.Wearable /// /// Sets or gets the angle offset value of ProgressBar. /// + /// preview public double BarAngleOffset { get @@ -187,6 +200,7 @@ namespace ElmSharp.Wearable /// /// Sets or gets the angle offset value of Background ProgressBar. /// + /// preview public double BackgroundAngleOffset { get @@ -202,6 +216,7 @@ namespace ElmSharp.Wearable /// /// Sets or gets the maximum angle value of ProgressBar. /// + /// preview public double BarAngleMaximum { get @@ -221,6 +236,7 @@ namespace ElmSharp.Wearable /// /// Sets or gets the minimum angle value of ProgressBar. /// + /// preview public double BarAngleMinimum { get @@ -240,6 +256,7 @@ namespace ElmSharp.Wearable /// /// Sets or gets color of ProgressBar. /// + /// preview public Color BarColor { get @@ -260,6 +277,7 @@ namespace ElmSharp.Wearable /// /// Sets or gets color of Background ProgressBar. /// + /// preview public override Color BackgroundColor { get @@ -280,6 +298,7 @@ namespace ElmSharp.Wearable /// /// Sets or gets line width of ProgressBar. /// + /// preview public int BarLineWidth { get @@ -295,6 +314,7 @@ namespace ElmSharp.Wearable /// /// Sets or gets line width of Background ProgressBar. /// + /// preview public int BackgroundLineWidth { get @@ -310,6 +330,7 @@ namespace ElmSharp.Wearable /// /// Sets or gets radius of ProgressBar. /// + /// preview public double BarRadius { get @@ -325,6 +346,7 @@ namespace ElmSharp.Wearable /// /// Sets or gets radius of Background ProgressBar. /// + /// preview public double BackgroundRadius { get @@ -342,6 +364,7 @@ namespace ElmSharp.Wearable /// /// Parent EvasObject /// Handle IntPtr + /// preview protected override IntPtr CreateHandle(EvasObject parent) { return Interop.Eext.eext_circle_object_progressbar_add(parent, CircleSurface.Handle);