C# Class OpenTK.Platform.SDL2.Sdl2NativeWindow

Inheritance: INativeWindow, IInputDriver
Datei anzeigen Open project: andykorth/opentk Class Usage Examples

Public Methods

Method Description
Close ( ) : void
Dispose ( ) : void
PointToClient ( Point point ) : Point
PointToScreen ( Point point ) : Point
Poll ( ) : void
ProcessEvents ( ) : void
Sdl2NativeWindow ( int x, int y, int width, int height, string title, GameWindowFlags options, DisplayDevice device ) : System

Private Methods

Method Description
DestroyWindow ( ) : void
Dispose ( bool manual ) : void
FilterEvents ( IntPtr user_data, IntPtr e ) : int
GrabCursor ( bool grab ) : void
HideShowWindowHack ( ) : void
ProcessButtonEvent ( Sdl2NativeWindow window, SDL ev ) : void
ProcessKeyEvent ( Sdl2NativeWindow window, SDL ev ) : void
ProcessMotionEvent ( Sdl2NativeWindow window, SDL ev ) : void
ProcessWheelEvent ( Sdl2NativeWindow window, SDL ev ) : void
ProcessWindowEvent ( Sdl2NativeWindow window, SDL e ) : void
RestoreWindow ( ) : void
TranslateFlags ( GameWindowFlags flags ) : SDL.SDL_WindowFlags
TranslateKey ( SDL scan ) : Key

Method Details

Close() public method

public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : 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

Poll() public method

public Poll ( ) : void
return void

ProcessEvents() public method

public ProcessEvents ( ) : void
return void

Sdl2NativeWindow() public method

public Sdl2NativeWindow ( 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 OpenTK.DisplayDevice
return System