Method | Description | |
---|---|---|
Lesson13 ( ) : System |
Creates a new instance.
|
Method | Description | |
---|---|---|
BuildFont ( ) : void |
Builds our bitmap font.
|
|
CreateGLWindow ( string title, int width, int height, int bits, bool fullscreenflag ) : bool |
Creates our OpenGL Window.
|
|
DrawGLScene ( ) : bool |
Here's where we do all the drawing.
|
|
Form_Activated ( object sender, |
Handles the form's activated event.
|
|
Form_Closing ( object sender, CancelEventArgs e ) : void |
Handles the form's closing event.
|
|
Form_Deactivate ( object sender, |
Handles the form's deactivate event.
|
|
Form_KeyDown ( object sender, KeyEventArgs e ) : void |
Handles the form's key down event.
|
|
Form_KeyUp ( object sender, KeyEventArgs e ) : void |
Handles the form's key down event.
|
|
Form_Resize ( object sender, EventArgs e ) : void |
Handles the form's resize event.
|
|
InitGL ( ) : bool |
All setup for OpenGL goes here.
|
|
KillFont ( ) : void |
Delete the font list.
|
|
KillGLWindow ( ) : void |
Properly kill the window.
|
|
ReSizeGLScene ( int width, int height ) : void |
Resizes and initializes the GL window.
|
|
Run ( ) : void | ||
glPrint ( string text ) : void |
Custom GL "print" routine.
|