Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1452 | chris | 1 | #region --- License --- |
| 2 | /* Licensed under the MIT/X11 license. |
||
| 3 | * Copyright (c) 2006-2008 the OpenTK Team. |
||
| 4 | * This notice may not be removed from any source distribution. |
||
| 5 | * See license.txt for licensing detailed licensing details. |
||
| 6 | */ |
||
| 7 | #endregion |
||
| 8 | |||
| 9 | using System; |
||
| 10 | using System.Collections.Generic; |
||
| 11 | using System.Text; |
||
| 12 | |||
| 13 | using OpenTK.Input; |
||
| 14 | using OpenTK.Graphics; |
||
| 15 | using System.Drawing; |
||
| 16 | |||
| 17 | namespace OpenTK.Platform |
||
| 18 | { |
||
| 19 | [Obsolete] |
||
| 20 | internal interface INativeGLWindow : IDisposable |
||
| 21 | { |
||
| 22 | void CreateWindow(int width, int height, GraphicsMode mode, int major, int minor, GraphicsContextFlags flags, out IGraphicsContext context); |
||
| 23 | void DestroyWindow(); |
||
| 24 | void ProcessEvents(); |
||
| 25 | Point PointToClient(Point point); |
||
| 26 | Point PointToScreen(Point point); |
||
| 27 | |||
| 28 | bool Exists { get; } |
||
| 29 | IWindowInfo WindowInfo { get; } |
||
| 30 | |||
| 31 | string Title { get; set; } |
||
| 32 | bool Visible { get; set; } |
||
| 33 | bool IsIdle { get; } |
||
| 34 | IInputDriver InputDriver { get; } |
||
| 35 | WindowState WindowState { get; set; } |
||
| 36 | WindowBorder WindowBorder { get; set; } |
||
| 37 | |||
| 38 | event CreateEvent Create; |
||
| 39 | event DestroyEvent Destroy; |
||
| 40 | } |
||
| 41 | |||
| 42 | [Obsolete] |
||
| 43 | internal delegate void CreateEvent(object sender, EventArgs e); |
||
| 44 | [Obsolete] |
||
| 45 | internal delegate void DestroyEvent(object sender, EventArgs e); |
||
| 46 | } |