}
/// <summary>
+ /// Sets the keyboard repeat information of horizontal way.
+ /// </summary>
+ /// <param name="rate">The key repeat rate value in seconds.</param>
+ /// <param name="delay">The key repeat delay value in seconds.</param>
+ /// <returns>True if setting the keyboard repeat succeeds.</returns>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool SetKeyboardHorizentalRepeatInfo(float rate, float delay)
+ {
+ bool ret = Interop.Window.SetKeyboardHorizentalRepeatInfo(rate, delay);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ /// <summary>
+ /// Gets the keyboard repeat information of horizontal way.
+ /// </summary>
+ /// <param name="rate">The key repeat rate value in seconds.</param>
+ /// <param name="delay">The key repeat delay value in seconds.</param>
+ /// <returns>True if setting the keyboard repeat succeeds.</returns>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool GetKeyboardHorizentalRepeatInfo(out float rate, out float delay)
+ {
+ bool ret = Interop.Window.GetKeyboardHorizentalRepeatInfo(out rate, out delay);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ /// <summary>
+ /// Sets the keyboard repeat information of vertical way.
+ /// </summary>
+ /// <param name="rate">The key repeat rate value in seconds.</param>
+ /// <param name="delay">The key repeat delay value in seconds.</param>
+ /// <returns>True if setting the keyboard repeat succeeds.</returns>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool SetKeyboardVerticalRepeatInfo(float rate, float delay)
+ {
+ bool ret = Interop.Window.SetKeyboardVerticalRepeatInfo(rate, delay);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ /// <summary>
+ /// Gets the keyboard repeat information of vertical way.
+ /// </summary>
+ /// <param name="rate">The key repeat rate value in seconds.</param>
+ /// <param name="delay">The key repeat delay value in seconds.</param>
+ /// <returns>True if setting the keyboard repeat succeeds.</returns>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool GetKeyboardVerticalRepeatInfo(out float rate, out float delay)
+ {
+ bool ret = Interop.Window.GetKeyboardVerticalRepeatInfo(out rate, out delay);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ /// <summary>
/// Adds a layer to the stage.
/// </summary>
/// <param name="layer">Layer to add.</param>
if (touchPoint == null)
{
using Touch touch = GetLastTouchEvent();
+ if (touch == null || touch.GetPointCount() < 1)
+ {
+ return;
+ }
using Vector2 screenPosition = touch.GetScreenPosition(0);
touchPoint = new TouchPoint(touch.GetDeviceId(0), TouchPoint.StateType.Motion, screenPosition.X, screenPosition.Y);
}
}
/// <summary>
+ /// Returns whether the window is floating mode or not.
+ /// </summary>
+ /// <returns>True if the window is enabled floating mode, false otherwise.</returns>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool IsFloatingModeEnabled()
+ {
+ bool ret = Interop.Window.IsFloatingModeEnabled(SwigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ /// <summary>
/// Requests to display server for the window is moved by display server.
/// It can be work with setting window floating mode.
/// </summary>
}
/// <summary>
+ /// Sets the pointer constraints lock.
+ /// </summary>
+ /// <returns>True if PointerConstraintsLock succeeds.</returns>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool PointerConstraintsLock()
+ {
+ bool ret = Interop.Window.PointerConstraintsLock(SwigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ /// <summary>
+ /// Sets the pointer constraints unlock.
+ /// </summary>
+ /// <returns>True if PointerConstraintsUnlock succeeds.</returns>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool PointerConstraintsUnlock()
+ {
+ bool ret = Interop.Window.PointerConstraintsUnlock(SwigCPtr);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ return ret;
+ }
+
+ /// <summary>
+ /// Sets the locked pointer region.
+ /// </summary>
+ /// <param name="x">The x position.</param>
+ /// <param name="y">The y position.</param>
+ /// <param name="width">The width.</param>
+ /// <param name="height">The height.</param>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public void LockedPointerRegionSet(int x, int y, int width, int height)
+ {
+ Interop.Window.LockedPointerRegionSet(SwigCPtr, x, y, width, height);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ /// <summary>
+ /// Sets the locked pointer cursor position hintset
+ /// </summary>
+ /// <param name="x">The x position.</param>
+ /// <param name="y">The y position.</param>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public void LockedPointerCursorPositionHintSet(int x, int y)
+ {
+ Interop.Window.LockedPointerCursorPositionHintSet(SwigCPtr, x, y);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ }
+
+ /// <summary>
+ /// Sets the pointer warp. The pointer moves to the set coordinates.
+ /// </summary>
+ /// <param name="x">The x position.</param>
+ /// <param name="y">The y position.</param>
+ /// <returns>True if PointerWarp succeeds.</returns>
+ [EditorBrowsable(EditorBrowsableState.Never)]
+ public bool PointerWarp(int x, int y)
+ {
+ bool ret = Interop.Window.PointerWarp(SwigCPtr, x, y);
+ if (NDalicPINVOKE.SWIGPendingException.Pending) throw NDalicPINVOKE.SWIGPendingException.Retrieve();
+ 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.