From 63b29ed78f0eca3a24ff249c44a0f0e92c00b39e Mon Sep 17 00:00:00 2001 From: dongsug-song <35130733+dongsug-song@users.noreply.github.com> Date: Wed, 6 Mar 2019 16:24:16 +0900 Subject: [PATCH] [NUI] TCSACR-214 Change name of text related properties (#736) --- .../src/internal/DaliEnumConstants.cs | 20 ++++++++++++++++ .../src/public/BaseComponents/TextEditor.cs | 4 +--- .../src/public/BaseComponents/TextField.cs | 13 ++++++---- .../src/public/BaseComponents/TextLabel.cs | 24 ++++++++++++++++--- src/Tizen.NUI/src/public/NUIConstants.cs | 4 ++++ src/Tizen.NUI/src/public/Position.cs | 2 +- src/Tizen.NUI/src/public/Position2D.cs | 2 +- src/Tizen.NUI/src/public/RelativeVector2.cs | 2 +- src/Tizen.NUI/src/public/RelativeVector3.cs | 2 +- src/Tizen.NUI/src/public/RelativeVector4.cs | 2 +- src/Tizen.NUI/src/public/Size.cs | 2 +- src/Tizen.NUI/src/public/Size2D.cs | 2 +- src/Tizen.NUI/src/public/Vector2.cs | 2 +- src/Tizen.NUI/src/public/Vector3.cs | 2 +- src/Tizen.NUI/src/public/Vector4.cs | 2 +- 15 files changed, 65 insertions(+), 20 deletions(-) diff --git a/src/Tizen.NUI/src/internal/DaliEnumConstants.cs b/src/Tizen.NUI/src/internal/DaliEnumConstants.cs index 5d70de1bc..966cf10f8 100755 --- a/src/Tizen.NUI/src/internal/DaliEnumConstants.cs +++ b/src/Tizen.NUI/src/internal/DaliEnumConstants.cs @@ -171,27 +171,47 @@ namespace Tizen.NUI /// Enumeration for stereoscopic view modes. /// /// 3 + /// + /// Deprecated.(API Level 6) Not used. + /// + [Obsolete("Please do not use this ViewMode(Deprecated).")] public enum ViewMode { /// /// Monoscopic (single camera). This is the default. /// /// 3 + /// + /// Deprecated.(API Level 6) Not used. + /// + [Obsolete("Please do not use this ViewMode.Mono(Deprecated).")] Mono, /// /// Stereoscopic. Frame buffer is split horizontally with the left and right camera views in their respective sides. /// /// 3 + /// + /// Deprecated.(API Level 6) Not used. + /// + [Obsolete("Please do not use this ViewMode.StereoHorizontal(Deprecated).")] StereoHorizontal, /// /// Stereoscopic. Frame buffer is split vertically with the left camera view at the top and the right camera view at the bottom. /// /// 3 + /// + /// Deprecated.(API Level 6) Not used. + /// + [Obsolete("Please do not use this ViewMode.StereoVertical(Deprecated).")] StereoVertical, /// /// Stereoscopic. Left/Right camera views are rendered into the framebuffer on alternate frames. /// /// 3 + /// + /// Deprecated.(API Level 6) Not used. + /// + [Obsolete("Please do not use this ViewMode.StereoInterlaced(Deprecated).")] StereoInterlaced } diff --git a/src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs b/src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs index f4bb89eed..468f50c68 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TextEditor.cs @@ -1983,9 +1983,7 @@ namespace Tizen.NUI.BaseComponents /// /// The text alignment to match the direction of the system language. /// - /// 5 - /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API. - [EditorBrowsable(EditorBrowsableState.Never)] + /// 6 public bool MatchSystemLanguageDirection { get diff --git a/src/Tizen.NUI/src/public/BaseComponents/TextField.cs b/src/Tizen.NUI/src/public/BaseComponents/TextField.cs index 48a00609c..6aebe10b1 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TextField.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TextField.cs @@ -1272,6 +1272,10 @@ namespace Tizen.NUI.BaseComponents /// The ShadowOffset property. /// /// 3 + /// + /// Deprecated.(API Level 6) Use Shadow instead. + /// + [Obsolete("Please do not use this ShadowOffset(Deprecated). Please use Shadow instead.")] public Vector2 ShadowOffset { get @@ -1295,6 +1299,10 @@ namespace Tizen.NUI.BaseComponents /// The ShadowColor property. /// /// 3 + /// + /// Deprecated.(API Level 6) Use Shadow instead. + /// + [Obsolete("Please do not use this ShadowColor(Deprecated). Please use Shadow instead.")] public Vector4 ShadowColor { get @@ -1985,13 +1993,10 @@ namespace Tizen.NUI.BaseComponents } } - /// /// The text alignment to match the direction of the system language. /// - /// 5 - /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API. - [EditorBrowsable(EditorBrowsableState.Never)] + /// 6 public bool MatchSystemLanguageDirection { get diff --git a/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs b/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs index a8cb7cd4e..58e6a161e 100755 --- a/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs +++ b/src/Tizen.NUI/src/public/BaseComponents/TextLabel.cs @@ -729,6 +729,10 @@ namespace Tizen.NUI.BaseComponents /// The drop shadow offset 0 indicates no shadow.
/// /// 3 + /// + /// Deprecated.(API Level 6) Use Shadow instead. + /// + [Obsolete("Please do not use this ShadowOffset(Deprecated). Please use Shadow instead.")] public Vector2 ShadowOffset { get @@ -755,6 +759,10 @@ namespace Tizen.NUI.BaseComponents /// The color of a drop shadow.
/// /// 3 + /// + /// Deprecated.(API Level 6) Use Shadow instead. + /// + [Obsolete("Please do not use this ShadowColor(Deprecated). Please use Shadow instead.")] public Vector4 ShadowColor { get @@ -781,6 +789,10 @@ namespace Tizen.NUI.BaseComponents /// The underline enabled flag.
/// /// 3 + /// + /// Deprecated.(API Level 6) Use Underline instead. + /// + [Obsolete("Please do not use this UnderlineEnabled(Deprecated). Please use Underline instead.")] public bool UnderlineEnabled { get @@ -808,6 +820,10 @@ namespace Tizen.NUI.BaseComponents /// Overrides the underline height from font metrics.
/// /// 3 + /// + /// Deprecated.(API Level 6) Use Underline instead. + /// + [Obsolete("Please do not use this UnderlineColor(Deprecated). Please use Underline instead.")] public Vector4 UnderlineColor { get @@ -834,6 +850,10 @@ namespace Tizen.NUI.BaseComponents /// Overrides the underline height from font metrics.
/// /// 3 + /// + /// Deprecated.(API Level 6) Use Underline instead. + /// + [Obsolete("Please do not use this UnderlineHeight(Deprecated). Please use Underline instead.")] public float UnderlineHeight { get @@ -1177,9 +1197,7 @@ namespace Tizen.NUI.BaseComponents /// /// The text alignment to match the direction of the system language. /// - /// 5 - /// This will be released at Tizen.NET API Level 5, so currently this would be used as inhouse API. - [EditorBrowsable(EditorBrowsableState.Never)] + /// 6 public bool MatchSystemLanguageDirection { get diff --git a/src/Tizen.NUI/src/public/NUIConstants.cs b/src/Tizen.NUI/src/public/NUIConstants.cs index ca58307e9..c3cd64dda 100755 --- a/src/Tizen.NUI/src/public/NUIConstants.cs +++ b/src/Tizen.NUI/src/public/NUIConstants.cs @@ -121,6 +121,10 @@ namespace Tizen.NUI /// /// Will be replaced by separate ClippingMode enum. Draw the actor and its children into the stencil buffer. /// + /// + /// Deprecated.(API Level 6) Use ClippingModeType instead. + /// + [Obsolete("Please do not use this DrawModeType.Stencil(Deprecated). Please use ClippingModeType instead.")] Stencil = 3 } diff --git a/src/Tizen.NUI/src/public/Position.cs b/src/Tizen.NUI/src/public/Position.cs index 0a91e6060..6547ca41e 100755 --- a/src/Tizen.NUI/src/public/Position.cs +++ b/src/Tizen.NUI/src/public/Position.cs @@ -794,7 +794,7 @@ namespace Tizen.NUI /// Gets the the hash code of this Position. /// /// The Hash Code. - /// 5 + /// 6 public override int GetHashCode() { return swigCPtr.Handle.GetHashCode(); diff --git a/src/Tizen.NUI/src/public/Position2D.cs b/src/Tizen.NUI/src/public/Position2D.cs index 901e4ca36..2fe963199 100755 --- a/src/Tizen.NUI/src/public/Position2D.cs +++ b/src/Tizen.NUI/src/public/Position2D.cs @@ -311,7 +311,7 @@ namespace Tizen.NUI /// Gets the the hash code of this Position2D. /// /// The Hash Code. - /// 5 + /// 6 public override int GetHashCode() { return swigCPtr.Handle.GetHashCode(); diff --git a/src/Tizen.NUI/src/public/RelativeVector2.cs b/src/Tizen.NUI/src/public/RelativeVector2.cs index 1be1b72bc..e71d18dcd 100755 --- a/src/Tizen.NUI/src/public/RelativeVector2.cs +++ b/src/Tizen.NUI/src/public/RelativeVector2.cs @@ -297,7 +297,7 @@ namespace Tizen.NUI /// Gets the the hash code of this RelativeVector2. /// /// The Hash Code. - /// 5 + /// 6 public override int GetHashCode() { return swigCPtr.Handle.GetHashCode(); diff --git a/src/Tizen.NUI/src/public/RelativeVector3.cs b/src/Tizen.NUI/src/public/RelativeVector3.cs index 2f5294888..a308274fc 100755 --- a/src/Tizen.NUI/src/public/RelativeVector3.cs +++ b/src/Tizen.NUI/src/public/RelativeVector3.cs @@ -307,7 +307,7 @@ namespace Tizen.NUI /// Gets the the hash code of this RelativeVector3. /// /// The Hash Code. - /// 5 + /// 6 public override int GetHashCode() { return swigCPtr.Handle.GetHashCode(); diff --git a/src/Tizen.NUI/src/public/RelativeVector4.cs b/src/Tizen.NUI/src/public/RelativeVector4.cs index da6df3328..d8180461c 100755 --- a/src/Tizen.NUI/src/public/RelativeVector4.cs +++ b/src/Tizen.NUI/src/public/RelativeVector4.cs @@ -326,7 +326,7 @@ namespace Tizen.NUI /// Gets the the hash code of this RelativeVector4. /// /// The Hash Code. - /// 5 + /// 6 public override int GetHashCode() { return swigCPtr.Handle.GetHashCode(); diff --git a/src/Tizen.NUI/src/public/Size.cs b/src/Tizen.NUI/src/public/Size.cs index c17f99c52..1f2944439 100755 --- a/src/Tizen.NUI/src/public/Size.cs +++ b/src/Tizen.NUI/src/public/Size.cs @@ -298,7 +298,7 @@ namespace Tizen.NUI /// Gets the the hash code of this Size. /// /// The Hash Code. - /// 5 + /// 6 public override int GetHashCode() { return swigCPtr.Handle.GetHashCode(); diff --git a/src/Tizen.NUI/src/public/Size2D.cs b/src/Tizen.NUI/src/public/Size2D.cs index d072ebe00..cbb89354f 100755 --- a/src/Tizen.NUI/src/public/Size2D.cs +++ b/src/Tizen.NUI/src/public/Size2D.cs @@ -285,7 +285,7 @@ namespace Tizen.NUI /// Gets the the hash code of this Size2D. /// /// The Hash Code. - /// 5 + /// 6 public override int GetHashCode() { return swigCPtr.Handle.GetHashCode(); diff --git a/src/Tizen.NUI/src/public/Vector2.cs b/src/Tizen.NUI/src/public/Vector2.cs index 070c69ef0..f7f4e0e99 100755 --- a/src/Tizen.NUI/src/public/Vector2.cs +++ b/src/Tizen.NUI/src/public/Vector2.cs @@ -394,7 +394,7 @@ namespace Tizen.NUI /// Gets the the hash code of this Vector2. /// /// The Hash Code. - /// 5 + /// 6 public override int GetHashCode() { return swigCPtr.Handle.GetHashCode(); diff --git a/src/Tizen.NUI/src/public/Vector3.cs b/src/Tizen.NUI/src/public/Vector3.cs index c4c1a7199..d96fd1476 100755 --- a/src/Tizen.NUI/src/public/Vector3.cs +++ b/src/Tizen.NUI/src/public/Vector3.cs @@ -519,7 +519,7 @@ namespace Tizen.NUI /// Gets the the hash code of this Vector3. /// /// The Hash Code. - /// 5 + /// 6 public override int GetHashCode() { return swigCPtr.Handle.GetHashCode(); diff --git a/src/Tizen.NUI/src/public/Vector4.cs b/src/Tizen.NUI/src/public/Vector4.cs index 44fbf5d1e..d8ed5a0a2 100755 --- a/src/Tizen.NUI/src/public/Vector4.cs +++ b/src/Tizen.NUI/src/public/Vector4.cs @@ -535,7 +535,7 @@ namespace Tizen.NUI /// Gets the the hash code of this Vector4. /// /// The Hash Code. - /// 5 + /// 6 public override int GetHashCode() { return swigCPtr.Handle.GetHashCode(); -- 2.34.1