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
Afficher le fichier Open project: eropple/sharplike Class Usage Examples

Méthodes publiques

Свойство Type Description
Control TKGLControl

Méthodes publiques

Méthode Description
TKWindow ( Size displayDimensions, GlyphPalette palette, Control context ) : System
Update ( ) : void

Méthodes protégées

Méthode Description
WindowTitleChange ( ) : void

Private Methods

Méthode 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 méthode

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

Update() public méthode

public Update ( ) : void
Résultat void

WindowTitleChange() protected méthode

protected WindowTitleChange ( ) : void
Résultat void

Property Details

Control public_oe property

public TKGLControl,Sharplike.Frontend.Rendering Control
Résultat TKGLControl