From d456461c6c5786cdde6ccb99f4ff485e11e7f667 Mon Sep 17 00:00:00 2001 From: "minho.sun" Date: Thu, 23 Mar 2017 16:16:58 +0900 Subject: [PATCH] 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 --- src/Tizen.NUI/src/public/CustomView.cs | 4 ++-- src/Tizen.NUI/src/public/TextLabel.cs | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Tizen.NUI/src/public/CustomView.cs b/src/Tizen.NUI/src/public/CustomView.cs index 1968288..5e6c5ce 100755 --- a/src/Tizen.NUI/src/public/CustomView.cs +++ b/src/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/src/Tizen.NUI/src/public/TextLabel.cs b/src/Tizen.NUI/src/public/TextLabel.cs index fc58862..13b94ed 100755 --- a/src/Tizen.NUI/src/public/TextLabel.cs +++ b/src/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 -- 2.7.4