C# Class OpenBve.ObjectViewer

Inheritance: OpenTK.GameWindow
显示文件 Open project: leezer3/OpenBVE

Public Methods

Method Description
ObjectViewer ( int width, int height, OpenTK.Graphics.GraphicsMode currentGraphicsMode, string openbve, GameWindowFlags @default ) : System

Protected Methods

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

Private Methods

Method Description
DragFile ( ) : void

Method Details

ObjectViewer() public method

public ObjectViewer ( int width, int height, OpenTK.Graphics.GraphicsMode currentGraphicsMode, string openbve, GameWindowFlags @default ) : System
width int
height int
currentGraphicsMode OpenTK.Graphics.GraphicsMode
openbve string
@default GameWindowFlags
return System

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