mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-06-22 11:18:01 +00:00
Added stub for WindowState.
This commit is contained in:
parent
43b43fc256
commit
a90a6c6e3d
|
@ -262,7 +262,7 @@ namespace OpenTK
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region --- Public Methods ---
|
#region --- Public Members ---
|
||||||
|
|
||||||
#region public virtual void Exit()
|
#region public virtual void Exit()
|
||||||
|
|
||||||
|
@ -925,6 +925,18 @@ namespace OpenTK
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
internal WindowState WindowState
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
return glWindow.WindowState;
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
glWindow.WindowState = value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region --- GameWindow Timing ---
|
#region --- GameWindow Timing ---
|
||||||
|
|
|
@ -35,6 +35,7 @@ namespace OpenTK.Platform
|
||||||
//IGraphicsContext Context { get; }
|
//IGraphicsContext Context { get; }
|
||||||
IInputDriver InputDriver { get; }
|
IInputDriver InputDriver { get; }
|
||||||
bool Fullscreen { get; set; }
|
bool Fullscreen { get; set; }
|
||||||
|
WindowState WindowState { get; set; }
|
||||||
|
|
||||||
event CreateEvent Create;
|
event CreateEvent Create;
|
||||||
event DestroyEvent Destroy;
|
event DestroyEvent Destroy;
|
||||||
|
|
|
@ -455,6 +455,22 @@ namespace OpenTK.Platform.Windows
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region public OpenTK.WindowState WindowState
|
||||||
|
|
||||||
|
public OpenTK.WindowState WindowState
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region --- IResizable Members ---
|
#region --- IResizable Members ---
|
||||||
|
|
|
@ -563,6 +563,22 @@ namespace OpenTK.Platform.X11
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
|
#region public OpenTK.WindowState WindowState
|
||||||
|
|
||||||
|
public OpenTK.WindowState WindowState
|
||||||
|
{
|
||||||
|
get
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
set
|
||||||
|
{
|
||||||
|
throw new NotImplementedException();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
#endregion
|
#endregion
|
||||||
|
|
||||||
#region --- IResizable Members ---
|
#region --- IResizable Members ---
|
||||||
|
|
37
Source/OpenTK/WindowState.cs
Normal file
37
Source/OpenTK/WindowState.cs
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
#region --- License ---
|
||||||
|
/* Licensed under the MIT/X11 license.
|
||||||
|
* Copyright (c) 2006-2008 the OpenTK Team.
|
||||||
|
* This notice may not be removed from any source distribution.
|
||||||
|
* See license.txt for licensing details.
|
||||||
|
*/
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace OpenTK
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Defines the available states for the GameWindow.
|
||||||
|
/// </summary>
|
||||||
|
public enum WindowState
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// The GameWindow is minimized to the taskbar (also known as 'iconified').
|
||||||
|
/// </summary>
|
||||||
|
Minimized,
|
||||||
|
/// <summary>
|
||||||
|
/// The GameWindow is in its normal state.
|
||||||
|
/// </summary>
|
||||||
|
Normal,
|
||||||
|
/// <summary>
|
||||||
|
/// The GameWindow covers the whole working area, which includes the desktop but not the taskbar and/or panels.
|
||||||
|
/// </summary>
|
||||||
|
Maximized,
|
||||||
|
/// <summary>
|
||||||
|
/// The GameWindow covers the whole screen, including all taskbars and/or panels.
|
||||||
|
/// </summary>
|
||||||
|
Fullscreen
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in a new issue