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
Mostrar archivo Open project: andykorth/opentk Class Usage Examples

Public Properties

Property Type Description
AltLeftScanCode uint
AltRightScanCode uint
ControlLeftScanCode uint
ControlRightScanCode uint
ShiftLeftScanCode uint
ShiftRightScanCode uint

Private Properties

Property 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

Public Methods

Method 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

Method 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 method

public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

GetState() public method

public GetState ( ) : KeyboardState
return KeyboardState

GetState() public method

public GetState ( int index ) : KeyboardState
index int
return KeyboardState

PointToClient() public method

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

PointToScreen() public method

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

Poll() public method

public Poll ( ) : void
return void

ProcessEvents() public method

public ProcessEvents ( ) : void
return void

WinGLNative() public method

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
return System

Property Details

AltLeftScanCode public_oe static_oe property

public static uint AltLeftScanCode
return uint

AltRightScanCode public_oe static_oe property

public static uint AltRightScanCode
return uint

ControlLeftScanCode public_oe static_oe property

public static uint ControlLeftScanCode
return uint

ControlRightScanCode public_oe static_oe property

public static uint ControlRightScanCode
return uint

ShiftLeftScanCode public_oe static_oe property

public static uint ShiftLeftScanCode
return uint

ShiftRightScanCode public_oe static_oe property

public static uint ShiftRightScanCode
return uint