53 lines
1.1 KiB
C#
53 lines
1.1 KiB
C#
#region --- License ---
|
|
/* Copyright (c) 2006, 2007 Stefanos Apostolopoulos
|
|
* See license.txt for license info
|
|
*/
|
|
#endregion
|
|
|
|
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
|
|
}
|
|
}
|