Visual DepthIndex changed from Float to Integer
authorAdeel Kazmi <adeel.kazmi@samsung.com>
Mon, 12 Jun 2017 11:02:08 +0000 (12:02 +0100)
committerAdeel Kazmi <adeel.kazmi@samsung.com>
Mon, 12 Jun 2017 12:15:52 +0000 (13:15 +0100)
Change-Id: I1fbd95cf6b5d8d29cc5190827eeb012449e7b3be

src/Tizen.NUI/src/internal/NDalicPINVOKE.cs
src/Tizen.NUI/src/public/VisualBase.cs
src/Tizen.NUI/src/public/VisualMaps.cs

index 6a175b3..e3377d7 100755 (executable)
@@ -10042,10 +10042,10 @@ class NDalicPINVOKE {
   public static extern void VisualBase_GetNaturalSize(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
 
   [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_VisualBase_SetDepthIndex")]
-  public static extern void VisualBase_SetDepthIndex(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2);
+  public static extern void VisualBase_SetDepthIndex(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);
 
   [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_VisualBase_GetDepthIndex")]
-  public static extern float VisualBase_GetDepthIndex(global::System.Runtime.InteropServices.HandleRef jarg1);
+  public static extern int VisualBase_GetDepthIndex(global::System.Runtime.InteropServices.HandleRef jarg1);
 
   [global::System.Runtime.InteropServices.DllImport("libdali-csharp-binder.so", EntryPoint="CSharp_Dali_VisualBase_CreatePropertyMap")]
   public static extern void VisualBase_CreatePropertyMap(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
index 35d9694..6307e8b 100755 (executable)
@@ -152,7 +152,7 @@ namespace Tizen.NUI
         /// <summary>
         /// the depth index of this visual.
         /// </summary>
-        public float DepthIndex
+        public int DepthIndex
         {
             set
             {
@@ -163,15 +163,15 @@ namespace Tizen.NUI
                 return GetDepthIndex();
             }
         }
-        internal void SetDepthIndex(float index)
+        internal void SetDepthIndex(int index)
         {
             NDalicPINVOKE.VisualBase_SetDepthIndex(swigCPtr, index);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
         }
 
-        internal float GetDepthIndex()
+        internal int GetDepthIndex()
         {
-            float ret = NDalicPINVOKE.VisualBase_GetDepthIndex(swigCPtr);
+            int ret = NDalicPINVOKE.VisualBase_GetDepthIndex(swigCPtr);
             if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
             return ret;
         }
index 2991aef..978611b 100755 (executable)
@@ -31,7 +31,7 @@ namespace Tizen.NUI
 
         private PropertyMap _visualTransformMap = null;
 
-        private float? _depthIndex = null;
+        private int? _depthIndex = null;
         protected PropertyMap _outputVisualMap = null;
 
         internal string Name
@@ -408,11 +408,11 @@ namespace Tizen.NUI
         /// By default, the depth index is 0.<br>
         /// Optional.
         /// </summary>
-        public float DepthIndex
+        public int DepthIndex
         {
             get
             {
-                return _depthIndex ?? (0.0f);
+                return _depthIndex ?? (0);
             }
             set
             {