Opentk/Source/OpenTK/Platform/DummyGLControl.cs

48 lines
942 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Text;
namespace OpenTK.Platform
{
/// <summary>
/// An IGLControl implementation to be used inside the Visual Studio designer.
/// </summary>
internal sealed 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
}
}