C# Class Examples.Tests.GameWindowStates

Inheritance: OpenTK.GameWindow
Show file Open project: andykorth/opentk Class Usage Examples

Public Methods

Method Description
GameWindowStates ( ) : System
Main ( ) : void

Protected Methods

Method Description
OnLoad ( EventArgs e ) : void
OnRenderFrame ( FrameEventArgs e ) : void
OnResize ( EventArgs e ) : void
OnUpdateFrame ( FrameEventArgs e ) : void

Private Methods

Method Description
Clamp ( int val, int min, int max ) : int
DrawKeyboard ( Graphics gfx, KeyboardState keyboard, int line ) : void
DrawMouse ( Graphics gfx, MouseState mouse, int line ) : void
DrawString ( Graphics gfx, string str, int line ) : void
DrawString ( Graphics gfx, string str, int line, float offset ) : void
KeyDownHandler ( object sender, KeyboardKeyEventArgs e ) : void
MouseButtonHandler ( object sender, MouseButtonEventArgs e ) : void
MouseMoveHandler ( object sender, MouseMoveEventArgs e ) : void

Method Details

GameWindowStates() public method

public GameWindowStates ( ) : System
return System

Main() public static method

public static Main ( ) : void
return void

OnLoad() protected method

protected OnLoad ( EventArgs e ) : void
e System.EventArgs
return void

OnRenderFrame() protected method

protected OnRenderFrame ( FrameEventArgs e ) : void
e FrameEventArgs
return void

OnResize() protected method

protected OnResize ( EventArgs e ) : void
e System.EventArgs
return void

OnUpdateFrame() protected method

protected OnUpdateFrame ( FrameEventArgs e ) : void
e FrameEventArgs
return void