//
// 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
{
///
/// Initialization hints are set before and affect how the library behaves until termination.
/// Hints are set with .
///
public enum InitHintBool
{
///
/// Used to specify whether to also expose joystick hats as buttons,
/// for compatibility with earlier versions of GLFW that did not have
/// .
/// Set this with .
///
JoystickHatButtons = 0x00050001,
///
/// 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 .
///
///
/// Only affects macOS; no effect on other platforms.
///
CocoaChdirResources = 0x00051001,
///
/// 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 .
///
///
/// Only affects macOS; no effect on other platforms.
///
CocoaMenubar = 0x00051002
}
}