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
Afficher le fichier Open project: andykorth/opentk Class Usage Examples

Méthodes publiques

Свойство Type Description
MouseWarpActive bool

Private Properties

Свойство 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

Méthodes publiques

Méthode 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

Méthode 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 méthode

public Close ( ) : void
Résultat void

DestroyWindow() public méthode

public DestroyWindow ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Exit() public méthode

public Exit ( ) : void
Résultat void

PointToClient() public méthode

public PointToClient ( Point point ) : Point
point Point
Résultat Point

PointToScreen() public méthode

public PointToScreen ( Point point ) : Point
point Point
Résultat Point

ProcessEvents() public méthode

public ProcessEvents ( ) : void
Résultat void

X11GLNative() public méthode

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

X11GLNative() public méthode

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
Résultat System

Property Details

MouseWarpActive public_oe static_oe property

public static bool MouseWarpActive
Résultat bool