2007-09-02 08:09:01 +00:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace OpenTK.Platform
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
2007-09-09 11:53:25 +00:00
|
|
|
|
/// An IGLControl implementation to be used inside the Visual Studio designer.
|
2007-09-02 08:09:01 +00:00
|
|
|
|
/// </summary>
|
2007-09-09 11:53:25 +00:00
|
|
|
|
internal sealed class DummyGLControl : IGLControl
|
2007-09-02 08:09:01 +00:00
|
|
|
|
{
|
|
|
|
|
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
|
|
|
|
|
}
|
|
|
|
|
}
|