X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=src%2FElmSharp.Wearable%2FElmSharp.Wearable%2FCircleSpinner.cs;h=295b2d30113cd0251a9bdfffe14605f85fd4d79d;hb=58283d6a09a7f531af61ae7b27b574603ef244df;hp=58272d1e5b5af43e54266168bcae2afba19d9f98;hpb=5dc58728f94cf99200706f0848cbe0ed71670534;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git
diff --git a/src/ElmSharp.Wearable/ElmSharp.Wearable/CircleSpinner.cs b/src/ElmSharp.Wearable/ElmSharp.Wearable/CircleSpinner.cs
old mode 100644
new mode 100755
index 58272d1..295b2d3
--- a/src/ElmSharp.Wearable/ElmSharp.Wearable/CircleSpinner.cs
+++ b/src/ElmSharp.Wearable/ElmSharp.Wearable/CircleSpinner.cs
@@ -26,6 +26,7 @@ namespace ElmSharp.Wearable
/// Inherits .
///
/// preview
+ [Obsolete("This has been deprecated in API12")]
public class CircleSpinner : Spinner, IRotaryActionWidget
{
IntPtr _circleHandle;
@@ -38,6 +39,7 @@ namespace ElmSharp.Wearable
/// The parent of the new Circle Spinner instance.
/// The surface for drawing circle features for this widget.
/// preview
+ [Obsolete("This has been deprecated in API12")]
public CircleSpinner(EvasObject parent, CircleSurface surface) : base()
{
Debug.Assert(parent == null || surface == null || parent.IsRealized);
@@ -61,12 +63,14 @@ namespace ElmSharp.Wearable
/// Gets the handle for Circle widget.
///
/// preview
+ [Obsolete("This has been deprecated in API12")]
public virtual IntPtr CircleHandle => _circleHandle;
///
/// Gets the handle for the circle surface used in this widget.
///
/// preview
+ [Obsolete("This has been deprecated in API12")]
public virtual CircleSurface CircleSurface => _surface;
///
@@ -79,15 +83,15 @@ namespace ElmSharp.Wearable
{
get
{
- if(_angleRatio <= 0)
+ if (_angleRatio <= 0)
{
- if(Maximum == Minimum)
+ if (Maximum == Minimum)
{
return 0.0;
}
else
{
- return 360/(Maximum - Minimum);
+ return 360 / (Maximum - Minimum);
}
}
@@ -95,7 +99,7 @@ namespace ElmSharp.Wearable
}
set
{
- if(value > 0)
+ if (value > 0)
{
if (_angleRatio == value) return;
@@ -122,6 +126,7 @@ namespace ElmSharp.Wearable
/// Sets or gets the state of the widget, which might be enabled or disabled.
///
/// preview
+ [Obsolete("This has been deprecated in API12")]
public override bool IsEnabled
{
get
@@ -137,7 +142,11 @@ namespace ElmSharp.Wearable
///
/// Sets or gets the line width of the marker.
///
+ ///
+ /// MarkerLineWidth is not supported on device or emulator which does not support marker in CircleDatetimeSelector and CircleSpinner.
+ ///
/// preview
+ [Obsolete("MarkerLineWidth is obsolete as of version 6.0.0 and is no longer supported")]
public int MarkerLineWidth
{
get
@@ -153,7 +162,11 @@ namespace ElmSharp.Wearable
///
/// Sets or gets the color of the marker.
///
+ ///
+ /// MarkerColor is not supported on device or emulator which does not support marker in CircleDatetimeSelector and CircleSpinner.
+ ///
/// preview
+ [Obsolete("MarkerColor is obsolete as of version 6.0.0 and is no longer supported")]
public Color MarkerColor
{
get
@@ -171,7 +184,11 @@ namespace ElmSharp.Wearable
///
/// Sets or gets the radius at which the center of the marker lies.
///
+ ///
+ /// MarkerRadius is not supported on device or emulator which does not support marker in CircleDatetimeSelector and CircleSpinner.
+ ///
/// preview
+ [Obsolete("MarkerRadius is obsolete as of version 6.0.0 and is no longer supported")]
public double MarkerRadius
{
get
@@ -190,6 +207,7 @@ namespace ElmSharp.Wearable
/// Parent EvasObject.
/// Handle IntPtr.
/// preview
+ [Obsolete("This has been deprecated in API12")]
protected override IntPtr CreateHandle(EvasObject parent)
{
IntPtr handle = base.CreateHandle(parent);