mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-27 10:55:37 +00:00
54 lines
1.1 KiB
C#
54 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
|
|
}
|
|
}
|