[Tizen] fix TCT BLOCK issue
authordongsug.song <dongsug.song@samsung.com>
Tue, 25 Jul 2017 02:07:53 +0000 (11:07 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Tue, 25 Jul 2017 02:08:00 +0000 (11:08 +0900)
This reverts commit 0a913ac50014da9d5d3045d044f365ef56365849.

Change-Id: I2ada2692ee6c3d32375588125aaddd8ee088c9fc

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

index 2e38f1f..b9ff096 100755 (executable)
@@ -827,6 +827,7 @@ 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);
@@ -837,8 +838,7 @@ 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 = ViewRegistry.GetViewFromBaseHandle(view);
-            View ret = View.DownCast(view);
+            View ret = Registry.GetManagedBaseHandleFromNativePtr(view) as View;
             if (ret != null)
             {
                 return (T)ret;
index b262b51..f208769 100755 (executable)
@@ -76,7 +76,8 @@ namespace Tizen.NUI
         public override void OnInitialize()
         {
             // Initialize the propertiesControl
-            _arrowImage = "/home/tengxb/Workspace/nui-debug/examples/res/images/arrow.png";
+            //_arrowImage = "/home/tengxb/Workspace/nui-debug/examples/res/images/arrow.png";
+            _arrowImage = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";
             _textBackgroundColor = new Color(0.6f, 0.6f, 0.6f, 1.0f);
             _currentValue = 0;
             _minValue = 0;