mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-26 19:45:32 +00:00
48 lines
924 B
C#
48 lines
924 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace OpenTK.Platform
|
|
{
|
|
/// <summary>
|
|
/// A dummy GLControl to be used inside the Visual Studio designer.
|
|
/// </summary>
|
|
internal class DummyGLControl : IGLControl
|
|
{
|
|
bool fullscreen;
|
|
IGLContext glContext = new DummyGLContext();
|
|
|
|
#region --- IGLControl Members ---
|
|
|
|
public bool IsIdle
|
|
{
|
|
get
|
|
{
|
|
return false;
|
|
}
|
|
}
|
|
|
|
public bool Fullscreen
|
|
{
|
|
get
|
|
{
|
|
return fullscreen;
|
|
}
|
|
set
|
|
{
|
|
fullscreen = value;
|
|
}
|
|
}
|
|
|
|
public IGLContext Context
|
|
{
|
|
get
|
|
{
|
|
return glContext;
|
|
}
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|