[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Window_GetPosition")]
public static extern global::System.IntPtr GetPosition(global::System.Runtime.InteropServices.HandleRef jarg1);
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Window_SetPartialUpdateEnabled")]
+ public static extern void SetPartialUpdateEnabled(global::System.Runtime.InteropServices.HandleRef window, bool enabled);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Window_IsPartialUpdateEnabled")]
+ [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.U1)]
+ public static extern bool IsPartialUpdateEnabled(global::System.Runtime.InteropServices.HandleRef window);
+
[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Window_SetTransparency")]
public static extern global::System.IntPtr SetTransparency(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2);
}
}
+ /// <summary>
+ /// Gets or sets whether the window will update partial area or full area.
+ /// If this value is true, window will update and render partial area.
+ /// If false, full area updated.
+ /// </summary>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool PartialUpdate
+ {
+ get
+ {
+ return IsPartialUpdate();
+ }
+ set
+ {
+ SetPartialUpdate(value);
+ }
+ }
+
internal static Vector4 DEFAULT_BACKGROUND_COLOR
{
get
}
/// <summary>
+ /// Set the window use partial update or not.
+ /// </summary>
+ /// <param name="enabled">If window enable partial update or disable.</param>
+ internal void SetPartialUpdate(bool enabled)
+ {
+ Interop.Window.SetPartialUpdateEnabled(SwigCPtr, enabled);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ /// <summary>
+ /// Returns whether the window is enabled partial update or not.
+ /// </summary>
+ /// <returns>True if the window is enabled partial update, false otherwise.</returns>
+ internal bool IsPartialUpdate()
+ {
+ bool ret = Interop.Window.IsPartialUpdateEnabled(SwigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ /// <summary>
/// Enables the floating mode of window.
/// The floating mode is to support window is moved or resized by display server.
/// For example, if the video-player window sets the floating mode,