C# Class MapView.View

Inheritance: System.Windows.Forms.Panel
Afficher le fichier Open project: pmprog/OpenXCOM.Tools Class Usage Examples

Méthodes publiques

Méthode Description
ClearSelection ( ) : void
Copy ( ) : void
Paste ( ) : void
Resize ( ) : void
View ( ) : System

Méthodes protégées

Méthode Description
OnMouseDown ( MouseEventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnMouseWheel ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void

Private Methods

Méthode Description
ConvertCoordsRect ( Point p ) : Point

convert from map coordinates to rectangular coordinates

convertCoordsDiamond ( int xp, int yp, int level ) : Point

convert from screen coordinates to tile coordinates

drawTile ( Graphics g, XCMapTile mt, int x, int y ) : void
drawTileGray ( Graphics g, XCMapTile mt, int x, int y ) : void
mapHeight ( IMap_Base mapFile, HeightChangedEventArgs e ) : void
tileChange ( IMap_Base mapFile, SelectedTileChangedEventArgs e ) : void

Method Details

ClearSelection() public méthode

public ClearSelection ( ) : void
Résultat void

Copy() public méthode

public Copy ( ) : void
Résultat void

OnMouseDown() protected méthode

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseMove() protected méthode

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseUp() protected méthode

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnMouseWheel() protected méthode

protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs
Résultat void

OnPaint() protected méthode

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
Résultat void

Paste() public méthode

public Paste ( ) : void
Résultat void

Resize() public méthode

public Resize ( ) : void
Résultat void

View() public méthode

public View ( ) : System
Résultat System