C# Class OpenTK.Platform.Windows.WinGLNative

Drives GameWindow on Windows. This class supports OpenTK, and is not intended for use by OpenTK programs.
Inheritance: INativeWindow
Afficher le fichier Open project: andykorth/opentk Class Usage Examples

Méthodes publiques

Свойство Type Description
AltLeftScanCode uint
AltRightScanCode uint
ControlLeftScanCode uint
ControlRightScanCode uint
ShiftLeftScanCode uint
ShiftRightScanCode uint

Private Properties

Свойство Type Description
CreateWindow System.IntPtr
DestroyWindow void
Dispose void
EnableMouseTracking void
GET_XBUTTON_WPARAM MouseButton
GrabCursor void
HideBorder void
ResetWindowState void
RestoreBorder void
StartTimer void
StopTimer void
UngrabCursor void
WindowProcedure IntPtr

Méthodes publiques

Méthode Description
Close ( ) : void
Dispose ( ) : void
GetState ( ) : KeyboardState
GetState ( int index ) : KeyboardState
PointToClient ( Point point ) : Point
PointToScreen ( Point point ) : Point
Poll ( ) : void
ProcessEvents ( ) : void
WinGLNative ( int x, int y, int width, int height, string title, GameWindowFlags options, DisplayDevice device ) : System

Private Methods

Méthode Description
CreateWindow ( int x, int y, int width, int height, string title, GameWindowFlags options, DisplayDevice device, IntPtr parentHandle ) : IntPtr
DestroyWindow ( ) : void

Starts the teardown sequence for the current window.

Dispose ( bool calledManually ) : void
EnableMouseTracking ( ) : void
GET_XBUTTON_WPARAM ( Int32 wParam ) : MouseButton

Decode the WM_XBUTTONDOWN, WM_XBUTTONUP paramaters. See: http://msdn.microsoft.com/en-us/library/windows/desktop/ms646245(v=vs.85).aspx

GrabCursor ( ) : void
HideBorder ( ) : void
ResetWindowState ( ) : void
RestoreBorder ( ) : void
StartTimer ( IntPtr handle ) : void
StopTimer ( IntPtr handle ) : void
UngrabCursor ( ) : void
WindowProcedure ( IntPtr handle, WindowMessage message, IntPtr wParam, IntPtr lParam ) : IntPtr

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetState() public méthode

public GetState ( ) : KeyboardState
Résultat KeyboardState

GetState() public méthode

public GetState ( int index ) : KeyboardState
index int
Résultat KeyboardState

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

Poll() public méthode

public Poll ( ) : void
Résultat void

ProcessEvents() public méthode

public ProcessEvents ( ) : void
Résultat void

WinGLNative() public méthode

public WinGLNative ( int x, int y, int width, int height, string title, GameWindowFlags options, DisplayDevice device ) : System
x int
y int
width int
height int
title string
options GameWindowFlags
device DisplayDevice
Résultat System

Property Details

AltLeftScanCode public_oe static_oe property

public static uint AltLeftScanCode
Résultat uint

AltRightScanCode public_oe static_oe property

public static uint AltRightScanCode
Résultat uint

ControlLeftScanCode public_oe static_oe property

public static uint ControlLeftScanCode
Résultat uint

ControlRightScanCode public_oe static_oe property

public static uint ControlRightScanCode
Résultat uint

ShiftLeftScanCode public_oe static_oe property

public static uint ShiftLeftScanCode
Résultat uint

ShiftRightScanCode public_oe static_oe property

public static uint ShiftRightScanCode
Résultat uint