From e6d9763fdf060c21c5d194cf64329e3ee6f98852 Mon Sep 17 00:00:00 2001 From: "dongsug.song" Date: Tue, 27 Jun 2017 21:24:21 +0900 Subject: [PATCH] Size2D get error fix - 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 --- src/Tizen.NUI/src/public/Property.cs | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/src/Tizen.NUI/src/public/Property.cs b/src/Tizen.NUI/src/public/Property.cs index a1b30a0..7c87c3c 100755 --- a/src/Tizen.NUI/src/public/Property.cs +++ b/src/Tizen.NUI/src/public/Property.cs @@ -1171,6 +1171,15 @@ namespace Tizen.NUI } /// + /// Creates a Size property value. + /// + /// A Size values + internal PropertyValue(Size vectorValue) : this(NDalicPINVOKE.new_Property_Value__SWIG_5(Size.getCPtr(vectorValue)), true) + { + if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve(); + } + + /// /// Creates a Position property value. /// /// A Position values @@ -1212,6 +1221,17 @@ namespace Tizen.NUI } /// + /// Retrieves a Size value. + /// + /// On return, a Size value + 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; + } + + /// /// Retrieves a Position value. /// /// On return, a Position value -- 2.7.4