mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-09-07 02:08:17 +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.
50 lines
1.8 KiB
C#
50 lines
1.8 KiB
C#
//
|
|
// WindowAttributeSetter.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>
|
|
/// Used to set window related attributes.
|
|
/// </summary>
|
|
/// <seealso cref="GLFW.SetWindowAttrib"/>
|
|
public enum WindowAttributeSetter
|
|
{
|
|
/// <summary>
|
|
/// Indicates whether the specified window is resizable by the user.
|
|
/// This is set on creation with the window hint with the same name.
|
|
/// </summary>
|
|
Resizable = WindowHintBool.Resizable,
|
|
|
|
/// <summary>
|
|
/// Indicates whether the specified window has decorations such as a border,a close widget, etc.
|
|
/// This is set on creation with the window hint with the same name.
|
|
/// </summary>
|
|
Decorated = WindowHintBool.Decorated,
|
|
|
|
/// <summary>
|
|
/// Specifies whether the full screen window will automatically iconify and restore
|
|
/// the previous video mode on input focus loss.
|
|
/// Possible values are <c>true</c> and <c>false</c>. This hint is ignored for windowed mode windows.
|
|
/// </summary>
|
|
AutoIconify = WindowHintBool.AutoIconify,
|
|
|
|
/// <summary>
|
|
/// Indicates whether the specified window is floating, also called topmost or always-on-top.
|
|
/// This is controlled by the window hint with the same name.
|
|
/// </summary>
|
|
Floating = WindowHintBool.Floating,
|
|
|
|
/// <summary>
|
|
/// Specifies whether the window will be given input focus when <see cref="GLFW.ShowWindow"/> is called.
|
|
/// Possible values are <c>true</c> and <c>false</c>.
|
|
/// </summary>
|
|
FocusOnShow = WindowHintBool.FocusOnShow
|
|
}
|
|
}
|