[global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Window_ExcludeInputRegion")]
public static extern void ExcludeInputRegion(global::System.Runtime.InteropServices.HandleRef window, global::System.Runtime.InteropServices.HandleRef inputRegion);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Window_Maximize")]
+ public static extern void Maximize(global::System.Runtime.InteropServices.HandleRef window, bool maximize);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Window_IsMaximized")]
+ public static extern bool IsMaximized(global::System.Runtime.InteropServices.HandleRef window);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Window_Minimize")]
+ public static extern void Minimize(global::System.Runtime.InteropServices.HandleRef window, bool minimize);
+
+ [global::System.Runtime.InteropServices.DllImport(NDalicPINVOKE.Lib, EntryPoint = "CSharp_Dali_Window_IsMinimized")]
+ public static extern bool IsMinimized(global::System.Runtime.InteropServices.HandleRef window);
}
}
}
/// </summary>
[Obsolete("Please do not use! This will be removed. Please use Window.EffectState instead!")]
[EditorBrowsable(EditorBrowsableState.Never)]
+ // This is already deprecated, so suppress warning here.
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1717:Only FlagsAttribute enums should have plural names", Justification = "<Pending>")]
public enum EffectStates
{
/// <summary>
/// </summary>
[Obsolete("Please do not use! This will be removed. Please use Window.EffectType instead!")]
[EditorBrowsable(EditorBrowsableState.Never)]
+ // This is already deprecated, so suppress warning here.
+ [System.Diagnostics.CodeAnalysis.SuppressMessage("Naming", "CA1717:Only FlagsAttribute enums should have plural names", Justification = "<Pending>")]
public enum EffectTypes
{
/// <summary>
var val = new Uint16Pair(Interop.Window.GetSize(SwigCPtr), true);
Vector2 ret = new Vector2(val.GetWidth(), val.GetHeight());
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ val.Dispose();
return ret;
}
var val = new Uint16Pair(Interop.Window.GetSize(SwigCPtr), true);
Size2D ret = new Size2D(val.GetWidth(), val.GetHeight());
if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ val.Dispose();
return ret;
}
}
/// <summary>
+ /// Maximizes window's size.
+ /// If this function is called with true, window will be resized with screen size.
+ /// Otherwise window will be resized with previous size.
+ /// It is for the window's MAX button in window's border.
+ /// If window border is supported by display server, it is not necessary.
+ /// </summary>
+ /// <param name="max">If window is maximized or unmaximized.</param>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public void Maximize(bool max)
+ {
+ Interop.Window.Maximize(SwigCPtr, max);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ /// <summary>
+ /// Returns whether the window is maximized or not.
+ /// </summary>
+ /// <returns>True if the window is maximized, false otherwise.</returns>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool IsMaximized()
+ {
+ bool ret = Interop.Window.IsMaximized(SwigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ /// <summary>
+ /// Minimizes window's size.
+ /// If this function is called with true, window will be iconified.
+ /// Otherwise window will be activated.
+ /// It is for the window's MIN button in window border.
+ /// If window border is supported by display server, it is not necessary.
+ /// </summary>
+ /// <param name="min">If window is minimized or unminimized.</param>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public void Minimize(bool min)
+ {
+ Interop.Window.Minimize(SwigCPtr, min);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ /// <summary>
+ /// Returns whether the window is minimized or not.
+ /// </summary>
+ /// <returns>True if the window is minimized, false otherwise.</returns>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool IsMinimized()
+ {
+ bool ret = Interop.Window.IsMinimized(SwigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ /// <summary>
/// Add FrameUpdateCallback
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]