Revert "[Tizen] fix TCT BLOCK issue"
authorminho.sun <minho.sun@samsung.com>
Tue, 1 Aug 2017 01:19:43 +0000 (10:19 +0900)
committerminho.sun <minho.sun@samsung.com>
Tue, 1 Aug 2017 01:19:45 +0000 (10:19 +0900)
This reverts commit cbd946f0a7fcd3b642dfffde70e72ab1143ab163.

Change-Id: I16ded77639c1f287f1292e03373e0259055b5eba

src/Tizen.NUI/src/public/BaseComponents/View.cs
src/Tizen.NUI/src/public/CustomView/Spin.cs

index b9ff096..2e38f1f 100755 (executable)
@@ -827,7 +827,6 @@ namespace Tizen.NUI.BaseComponents
         /// </summary>
         /// <param name="handle">Handle to an object</param>
         /// <returns>A handle to a View or an uninitialized handle</returns>
-        [Obsolete("Please do not use! this will be deprecated")]
         public new static View DownCast(BaseHandle handle)
         {
             View ret = new View(NDalicPINVOKE.View_DownCast(BaseHandle.getCPtr(handle)), true);
@@ -838,7 +837,8 @@ namespace Tizen.NUI.BaseComponents
         [Obsolete("Please do not use! this will be deprecated")]
         public static T DownCast<T>(View view) where T : View
         {
-            View ret = Registry.GetManagedBaseHandleFromNativePtr(view) as View;
+            //View ret = ViewRegistry.GetViewFromBaseHandle(view);
+            View ret = View.DownCast(view);
             if (ret != null)
             {
                 return (T)ret;
index f208769..b262b51 100755 (executable)
@@ -76,8 +76,7 @@ namespace Tizen.NUI
         public override void OnInitialize()
         {
             // Initialize the propertiesControl
-            //_arrowImage = "/home/tengxb/Workspace/nui-debug/examples/res/images/arrow.png";
-            _arrowImage = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";
+            _arrowImage = "/home/tengxb/Workspace/nui-debug/examples/res/images/arrow.png";
             _textBackgroundColor = new Color(0.6f, 0.6f, 0.6f, 1.0f);
             _currentValue = 0;
             _minValue = 0;