mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-25 06:15:29 +00:00
49 lines
1.3 KiB
C#
49 lines
1.3 KiB
C#
#region --- License ---
|
|
/* Licensed under the MIT/X11 license.
|
|
* Copyright (c) 2006-2008 the OpenTK Team.
|
|
* This notice may not be removed from any source distribution.
|
|
* See license.txt for licensing detailed licensing details.
|
|
*/
|
|
#endregion
|
|
|
|
using System;
|
|
using System.Collections.Generic;
|
|
#if !MINIMAL
|
|
using System.Drawing;
|
|
#endif
|
|
using System.Text;
|
|
|
|
using OpenTK.Input;
|
|
using OpenTK.Graphics;
|
|
|
|
namespace OpenTK.Platform
|
|
{
|
|
[Obsolete]
|
|
internal interface INativeGLWindow : IDisposable
|
|
{
|
|
void CreateWindow(int width, int height, GraphicsMode mode, int major, int minor, GraphicsContextFlags flags, out IGraphicsContext context);
|
|
void DestroyWindow();
|
|
void ProcessEvents();
|
|
Point PointToClient(Point point);
|
|
Point PointToScreen(Point point);
|
|
|
|
bool Exists { get; }
|
|
IWindowInfo WindowInfo { get; }
|
|
|
|
string Title { get; set; }
|
|
bool Visible { get; set; }
|
|
bool IsIdle { get; }
|
|
IInputDriver InputDriver { get; }
|
|
WindowState WindowState { get; set; }
|
|
WindowBorder WindowBorder { get; set; }
|
|
|
|
event CreateEvent Create;
|
|
event DestroyEvent Destroy;
|
|
}
|
|
|
|
[Obsolete]
|
|
internal delegate void CreateEvent(object sender, EventArgs e);
|
|
[Obsolete]
|
|
internal delegate void DestroyEvent(object sender, EventArgs e);
|
|
}
|