From 5475315cba4b848f84b63854f22af605db5d43a8 Mon Sep 17 00:00:00 2001 From: "pius.lee" Date: Tue, 13 Jun 2017 11:10:59 +0900 Subject: Change RealHandle, Handle, Parent Access modifier RealHandle and Handle have to be needed on inherit some widget. So extended widget can't be made on another package until it is "internal". Parent has to be needed for find current window. elm sharp does not has method finding window except Parent tracing. Change-Id: I975a3d1f6144029a21b885276d5ab3037f8b8f00 Signed-off-by: pius.lee --- ElmSharp/ElmSharp/EvasObject.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/ElmSharp/ElmSharp/EvasObject.cs b/ElmSharp/ElmSharp/EvasObject.cs index a927914..00a8471 100644 --- a/ElmSharp/ElmSharp/EvasObject.cs +++ b/ElmSharp/ElmSharp/EvasObject.cs @@ -31,15 +31,15 @@ namespace ElmSharp private Interop.Eext.EextEventCallback _backButtonHandler; private Interop.Eext.EextEventCallback _moreButtonHandler; - internal IntPtr Handle { get; set; } - internal EvasObject Parent { get; set; } - internal IntPtr RealHandle + public IntPtr Handle { get; protected set; } + public EvasObject Parent { get; private set; } + public IntPtr RealHandle { get { return _realHandle == IntPtr.Zero ? Handle : _realHandle; } - set + protected set { _realHandle = value; } -- cgit v1.2.3