C# Class OpenTK.Platform.X11.X11GLNative

Drives GameWindow on X11. This class supports OpenTK, and is not intended for use by OpenTK programs.
Inheritance: INativeWindow, IDisposable
Show file Open project: andykorth/opentk Class Usage Examples

Public Properties

Property Type Description
MouseWarpActive bool

Private Properties

Property Type Description
CreateEmptyCursor System.IntPtr
DeleteIconPixmaps void
DisableGnomeDecorations bool
DisableMotifDecorations bool
DisableWindowDecorations void
Dispose void
EnableGnomeDecorations bool
EnableMotifDecorations bool
EnableWindowDecorations void
RefreshWindowBorders bool
RefreshWindowBounds void
RegisterAtoms void
SetMouseClamped void
SetWindowMinMax void

Public Methods

Method Description
Close ( ) : void
DestroyWindow ( ) : void
Dispose ( ) : void
Exit ( ) : void
PointToClient ( Point point ) : Point
PointToScreen ( Point point ) : Point
ProcessEvents ( ) : void
X11GLNative ( ) : System

Constructs and initializes a new X11GLNative window. Call CreateWindow to create the actual render window.

X11GLNative ( int x, int y, int width, int height, string title, OpenTK.Graphics.GraphicsMode mode, GameWindowFlags options, DisplayDevice device ) : System

Private Methods

Method Description
CreateEmptyCursor ( X11WindowInfo window ) : IntPtr
DeleteIconPixmaps ( IntPtr display, IntPtr window ) : void
DisableGnomeDecorations ( ) : bool
DisableMotifDecorations ( ) : bool
DisableWindowDecorations ( ) : void
Dispose ( bool manuallyCalled ) : void
EnableGnomeDecorations ( ) : bool
EnableMotifDecorations ( ) : bool
EnableWindowDecorations ( ) : void
RefreshWindowBorders ( ) : bool
RefreshWindowBounds ( XEvent &e ) : void
RegisterAtoms ( X11WindowInfo window ) : void

Not used yet. Registers the necessary atoms for GameWindow.

SetMouseClamped ( MouseDevice mouse, int x, int y, int left, int top, int width, int height ) : void
SetWindowMinMax ( short min_width, short min_height, short max_width, short max_height ) : void

Method Details

Close() public method

public Close ( ) : void
return void

DestroyWindow() public method

public DestroyWindow ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

Exit() public method

public Exit ( ) : void
return void

PointToClient() public method

public PointToClient ( Point point ) : Point
point Point
return Point

PointToScreen() public method

public PointToScreen ( Point point ) : Point
point Point
return Point

ProcessEvents() public method

public ProcessEvents ( ) : void
return void

X11GLNative() public method

Constructs and initializes a new X11GLNative window. Call CreateWindow to create the actual render window.
public X11GLNative ( ) : System
return System

X11GLNative() public method

public X11GLNative ( int x, int y, int width, int height, string title, OpenTK.Graphics.GraphicsMode mode, GameWindowFlags options, DisplayDevice device ) : System
x int
y int
width int
height int
title string
mode OpenTK.Graphics.GraphicsMode
options GameWindowFlags
device DisplayDevice
return System

Property Details

MouseWarpActive public static property

public static bool MouseWarpActive
return bool