C# Class Sharplike.Frontend.Rendering.TKWindow

A display window that uses OpenGL (via OpenTK) to render the game display.
Developed primarily by Alex Karantza ([email protected]), with some adjustments to fit into the application. Copyright transferred with permission to Ed Ropple and code included under the Sharplike License (CPAL).
Inheritance: Sharplike.Core.Rendering.AbstractWindow
显示文件 Open project: eropple/sharplike Class Usage Examples

Public Properties

Property Type Description
Control TKGLControl

Public Methods

Method Description
TKWindow ( Size displayDimensions, GlyphPalette palette, Control context ) : System
Update ( ) : void

Protected Methods

Method Description
WindowTitleChange ( ) : void

Private Methods

Method Description
Control_Paint ( object sender, PaintEventArgs e ) : void
Control_Resize ( object sender, EventArgs e ) : void
DrawTile ( DisplayTile tile, int x, int y ) : void
Form_FormClosing ( object sender, FormClosingEventArgs e ) : void
Render ( ) : void
TKWindow_Resize ( ) : void

Method Details

TKWindow() public method

public TKWindow ( Size displayDimensions, GlyphPalette palette, Control context ) : System
displayDimensions System.Drawing.Size
palette Sharplike.Core.Rendering.GlyphPalette
context System.Windows.Forms.Control
return System

Update() public method

public Update ( ) : void
return void

WindowTitleChange() protected method

protected WindowTitleChange ( ) : void
return void

Property Details

Control public_oe property

public TKGLControl,Sharplike.Frontend.Rendering Control
return TKGLControl