Opentk/Source/OpenTK/Platform/DummyGLControl.cs

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
}
}