C# Class OpenTK.Platform.SDL2.Sdl2Mouse

Inheritance: IMouseDriver2, IMouseDriver
Afficher le fichier Open project: andykorth/opentk Class Usage Examples

Méthodes publiques

Méthode Description
GetState ( ) : MouseState
GetState ( int index ) : MouseState
ProcessMouseEvent ( SDL motion ) : void
ProcessWheelEvent ( SDL wheel ) : void
Sdl2Mouse ( ) : System
SetPosition ( double x, double y ) : void

Private Methods

Méthode Description
SetButtonState ( MouseButton button, bool pressed ) : void
TranslateButton ( uint button ) : MouseButton

Method Details

GetState() public méthode

public GetState ( ) : MouseState
Résultat MouseState

GetState() public méthode

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

ProcessMouseEvent() public méthode

public ProcessMouseEvent ( SDL motion ) : void
motion SDL
Résultat void

ProcessWheelEvent() public méthode

public ProcessWheelEvent ( SDL wheel ) : void
wheel SDL
Résultat void

Sdl2Mouse() public méthode

public Sdl2Mouse ( ) : System
Résultat System

SetPosition() public méthode

public SetPosition ( double x, double y ) : void
x double
y double
Résultat void