From: minho.sun Date: Thu, 23 Mar 2017 07:16:58 +0000 (+0900) Subject: Fix TCT issues X-Git-Tag: accepted/tizen/common/20170324.123341~4^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F32%2F120532%2F1;p=platform%2Fcore%2Fcsapi%2Fnui.git Fix TCT issues Fix TCT issues for CustomView and TextLabel. CustomView: EmitKeyEventSignal & KeyboardEnter are internal api in native side. So change these apis to internal. TextLabel: The type of Emboss & Outline is actually string. So change type to string. Change-Id: I7c67e54c1ec0995c8da5f386d163035f388d29d2 Signed-off-by: minho.sun --- diff --git a/Tizen.NUI/src/public/CustomView.cs b/Tizen.NUI/src/public/CustomView.cs index 1968288..5e6c5ce 100755 --- a/Tizen.NUI/src/public/CustomView.cs +++ b/Tizen.NUI/src/public/CustomView.cs @@ -193,7 +193,7 @@ namespace Tizen.NUI /// /// Called by the KeyboardFocusManager. /// - public void KeyboardEnter() + internal void KeyboardEnter() { viewWrapperImpl.KeyboardEnter(); } @@ -203,7 +203,7 @@ namespace Tizen.NUI /// /// The key event /// True if the event was consumed - public bool EmitKeyEventSignal(Key key) + internal bool EmitKeyEventSignal(Key key) { return viewWrapperImpl.EmitKeyEventSignal(key); } diff --git a/Tizen.NUI/src/public/TextLabel.cs b/Tizen.NUI/src/public/TextLabel.cs index fc58862..13b94ed 100755 --- a/Tizen.NUI/src/public/TextLabel.cs +++ b/Tizen.NUI/src/public/TextLabel.cs @@ -595,12 +595,12 @@ namespace Tizen.NUI /// Emboss property /// The default emboss parameters. /// - public PropertyMap Emboss + public string Emboss { get { - PropertyMap temp = new PropertyMap(); - GetProperty(TextLabel.Property.EMBOSS).Get(temp); + string temp; + GetProperty(TextLabel.Property.EMBOSS).Get( out temp); return temp; } set @@ -613,12 +613,12 @@ namespace Tizen.NUI /// Outline property /// The default outline parameters. /// - public PropertyMap Outline + public string Outline { get { - PropertyMap temp = new PropertyMap(); - GetProperty(TextLabel.Property.OUTLINE).Get(temp); + string temp; + GetProperty(TextLabel.Property.OUTLINE).Get(out temp); return temp; } set