From: dongsug.song Date: Tue, 27 Jun 2017 12:24:21 +0000 (+0900) Subject: Size2D get error fix X-Git-Tag: submit/trunk/20170823.075128~91^2~35^2~21 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e6d9763fdf060c21c5d194cf64329e3ee6f98852;p=platform%2Fcore%2Fcsapi%2Ftizenfx.git 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 --- 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