To provide the screen size, NUIApplication.GetScreenSize is added.
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Application_New__SWIG_6")]
public static extern global::System.IntPtr New(int jarg1, string jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, bool jarg7);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_GetScreenSize")]
+ public static extern global::System.IntPtr GetScreenSize();
}
}
}
}
/// <summary>
+ /// Gets the screen size
+ /// </summary>
+ /// <returns>Screen size</returns>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ static public Size GetScreenSize()
+ {
+ var ret = new Size(Interop.Application.GetScreenSize(), true);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ /// <summary>
/// Overrides this method if you want to handle behavior.
/// </summary>
/// <since_tizen> 3 </since_tizen>