mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-15 06:42:25 +02:00
* Use GLFW instead of OpenTK windows * Seems to work pretty well now. * Fix stackalloc issue on Framework. * Add GLFW project to sln. * Fix package downgrade. * Fix SLN more. * Please work. * Fix C# version error.
38 lines
1.2 KiB
C#
38 lines
1.2 KiB
C#
//
|
|
// CursorModeValue.cs
|
|
//
|
|
// Copyright (C) 2018 OpenTK
|
|
//
|
|
// This software may be modified and distributed under the terms
|
|
// of the MIT license. See the LICENSE file for details.
|
|
//
|
|
|
|
namespace OpenToolkit.GraphicsLibraryFramework
|
|
{
|
|
/// <summary>
|
|
/// The GLFW cursor modes.
|
|
/// See <a href="https://www.glfw.org/docs/latest/input_guide.html#cursor_mode">cursor modes</a>.
|
|
/// </summary>
|
|
public enum CursorModeValue
|
|
{
|
|
/// <summary>
|
|
/// The regular arrow cursor (or another cursor set with <see cref="GLFW.SetCursor"/>) is used
|
|
/// and cursor motion is not limited.
|
|
/// </summary>
|
|
CursorNormal = 0x00034001,
|
|
|
|
/// <summary>
|
|
/// Hides the arrow cursor when over a window.
|
|
/// </summary>
|
|
CursorHidden = 0x00034002,
|
|
|
|
/// <summary>
|
|
/// Will hide the cursor and lock it to the specified window.
|
|
/// GLFW will then take care of all the details of cursor re-centering and offset calculation
|
|
/// and providing the application with a virtual cursor position.
|
|
/// This virtual position is provided normally via both the cursor position callback and through polling.
|
|
/// </summary>
|
|
CursorDisabled = 0x00034003
|
|
}
|
|
}
|