C# Class CSPspEmu.Gui.Winforms.Winforms.GLControl

Inheritance: System.Windows.Forms.UserControl
Show file Open project: soywiz/cspspemu Class Usage Examples

Protected Properties

Property Type Description
Context IGLContext

Public Methods

Method Description
GLControl ( ) : System
GrabScreenshot ( ) : Bitmap
ReDraw ( ) : void

Protected Methods

Method Description
OnDrawFrame ( ) : void
OnHandleCreated ( EventArgs e ) : void
OnHandleDestroyed ( EventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void
OnPaintBackground ( PaintEventArgs e ) : void

Private Methods

Method Description
GLControl_Load ( object sender, EventArgs e ) : void
InitializeComponent ( ) : void

Method Details

GLControl() public method

public GLControl ( ) : System
return System

GrabScreenshot() public method

public GrabScreenshot ( ) : Bitmap
return System.Drawing.Bitmap

OnDrawFrame() protected method

protected OnDrawFrame ( ) : void
return void

OnHandleCreated() protected method

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

OnHandleDestroyed() protected method

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

OnPaint() protected final method

protected final OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

OnPaintBackground() protected method

protected OnPaintBackground ( PaintEventArgs e ) : void
e PaintEventArgs
return void

ReDraw() public method

public ReDraw ( ) : void
return void

Property Details

Context protected property

protected IGLContext Context
return IGLContext