Size2D get error fix
authordongsug.song <dongsug.song@samsung.com>
Tue, 27 Jun 2017 12:24:21 +0000 (21:24 +0900)
committerdongsug.song <dongsug.song@samsung.com>
Thu, 29 Jun 2017 10:15:23 +0000 (19:15 +0900)
- add Size's set/get Property
- fix compile error for NUI Ubuntu build with VS-Code (please use NUISamplesUbuntu)

Conflicts:
NUISamples/NUISamples/NUISamples.TizenTV/examples/Main.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/date-picker.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/gc-test.cs
NUISamples/NUISamples/NUISamples.TizenTV/examples/image-view.cs

Change-Id: Id9e64b0915b32e2470104403f62719fe75e84aa7
Signed-off-by: dongsug.song <dongsug.song@samsung.com>
src/Tizen.NUI/src/public/Property.cs

index a1b30a0..7c87c3c 100755 (executable)
@@ -1171,6 +1171,15 @@ namespace Tizen.NUI
         }
 
         /// <summary>
+        /// Creates a Size property value.
+        /// </summary>
+        /// <param name="vectorValue">A Size values</param>
+        internal PropertyValue(Size vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Size.getCPtr(vectorValue)), true)
+        {
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+        }
+
+        /// <summary>
         /// Creates a Position property value.
         /// </summary>
         /// <param name="vectorValue">A Position values</param>
@@ -1212,6 +1221,17 @@ namespace Tizen.NUI
         }
 
         /// <summary>
+        /// Retrieves a Size value.
+        /// </summary>
+        /// <param name="vectorValue"> On return, a Size value</param>
+        internal bool Get(Size vectorValue)
+        {
+            bool ret = NDalicPINVOKE.Property_Value_Get__SWIG_6(swigCPtr, Size.getCPtr(vectorValue));
+            if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+            return ret;
+        }
+
+        /// <summary>
         /// Retrieves a Position value.
         /// </summary>
         /// <param name="vectorValue"> On return, a Position value</param>