C# Class SharpQuake.MainForm

Inheritance: OpenTK.GameWindow
Datei anzeigen Open project: Memorix101/SharpQuake

Public Properties

Property Type Description
ConfirmExit bool

Private Properties

Property Type Description
CreateInstance MainForm
DumpError void
HandleException void
Main int
MainForm System
MapKey int
SafeShutdown void

Public Methods

Method Description
Keyboard_KeyDown ( object sender, OpenTK e ) : void
Keyboard_KeyUp ( object sender, OpenTK e ) : void
Mouse_ButtonEvent ( object sender, OpenTK e ) : void
Mouse_Move ( object sender, OpenTK e ) : void
Mouse_WheelChanged ( object sender, OpenTK e ) : void

Protected Methods

Method Description
OnClosing ( System e ) : void
OnFocusedChanged ( EventArgs e ) : void
OnUpdateFrame ( FrameEventArgs e ) : void

Private Methods

Method Description
CreateInstance ( Size size, OpenTK.Graphics.GraphicsMode mode, bool fullScreen ) : MainForm
DumpError ( Exception ex ) : void
HandleException ( Exception ex ) : void
Main ( string args ) : int
MainForm ( Size size, OpenTK.Graphics.GraphicsMode mode, bool fullScreen ) : System
MapKey ( OpenTK srcKey ) : int
SafeShutdown ( ) : void

Method Details

Keyboard_KeyDown() public method

public Keyboard_KeyDown ( object sender, OpenTK e ) : void
sender object
e OpenTK
return void

Keyboard_KeyUp() public method

public Keyboard_KeyUp ( object sender, OpenTK e ) : void
sender object
e OpenTK
return void

Mouse_ButtonEvent() public method

public Mouse_ButtonEvent ( object sender, OpenTK e ) : void
sender object
e OpenTK
return void

Mouse_Move() public method

public Mouse_Move ( object sender, OpenTK e ) : void
sender object
e OpenTK
return void

Mouse_WheelChanged() public method

public Mouse_WheelChanged ( object sender, OpenTK e ) : void
sender object
e OpenTK
return void

OnClosing() protected method

protected OnClosing ( System e ) : void
e System
return void

OnFocusedChanged() protected method

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

OnUpdateFrame() protected method

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

Property Details

ConfirmExit public_oe property

public bool ConfirmExit
return bool