mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-14 19:29:36 +01: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.
47 lines
1.7 KiB
C#
47 lines
1.7 KiB
C#
//
|
|
// InitHint.cs
|
|
//
|
|
// Copyright (C) 2019 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>
|
|
/// Initialization hints are set before <see cref="GLFW.Init"/> and affect how the library behaves until termination.
|
|
/// Hints are set with <see cref="GLFW.InitHint(InitHintBool, bool)"/>.
|
|
/// </summary>
|
|
public enum InitHintBool
|
|
{
|
|
/// <summary>
|
|
/// Used to specify whether to also expose joystick hats as buttons,
|
|
/// for compatibility with earlier versions of GLFW that did not have
|
|
/// <see cref="GLFW.GetJoystickHats"/>.
|
|
/// Set this with <see cref="GLFW.InitHint(InitHintBool, bool)"/>.
|
|
/// </summary>
|
|
JoystickHatButtons = 0x00050001,
|
|
|
|
/// <summary>
|
|
/// Used to specify whether to set the current directory to the application to the Contents/Resources
|
|
/// subdirectory of the application's bundle, if present.
|
|
/// Set this with <see cref="GLFW.InitHint(InitHintBool, bool)"/>.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Only affects macOS; no effect on other platforms.
|
|
/// </remarks>
|
|
CocoaChdirResources = 0x00051001,
|
|
|
|
/// <summary>
|
|
/// Used to specify whether to create a basic menu bar, either from a nib or manually,
|
|
/// when the first window is created, which is when AppKit is initialized.
|
|
/// Set this with <see cref="GLFW.InitHint(InitHintBool, bool)"/>.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Only affects macOS; no effect on other platforms.
|
|
/// </remarks>
|
|
CocoaMenubar = 0x00051002
|
|
}
|
|
}
|