C# Class MapView.TopViewForm.SimpleMapPanel

Inheritance: Map_Observer_Control
Mostrar archivo Open project: pmprog/OpenXCOM.Tools

Protected Properties

Property Type Description
hWidth int
minHeight int

Private Properties

Property Type Description
convertCoordsDiamond void

Public Methods

Method Description
ParentSize ( int width, int height ) : void
SelectedTileChanged ( IMap_Base sender, SelectedTileChangedEventArgs e ) : void
SimpleMapPanel ( ) : System

Protected Methods

Method Description
CellPath ( int xc, int yc ) : GraphicsPath
LowerPath ( int x, int y ) : GraphicsPath
OnMouseDown ( MouseEventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnMouseWheel ( MouseEventArgs e ) : void
Render ( System g ) : void
RenderCell ( IMapTile tile, System g, int x, int y ) : void
UpperPath ( int x, int y ) : GraphicsPath
viewDrag ( object sender, EventArgs ex ) : void

Private Methods

Method Description
convertCoordsDiamond ( int x, int y, int &row, int &col ) : void

Method Details

CellPath() protected method

protected CellPath ( int xc, int yc ) : GraphicsPath
xc int
yc int
return System.Drawing.Drawing2D.GraphicsPath

LowerPath() protected method

protected LowerPath ( int x, int y ) : GraphicsPath
x int
y int
return System.Drawing.Drawing2D.GraphicsPath

OnMouseDown() protected method

protected OnMouseDown ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseMove() protected method

protected OnMouseMove ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseUp() protected method

protected OnMouseUp ( MouseEventArgs e ) : void
e MouseEventArgs
return void

OnMouseWheel() protected method

protected OnMouseWheel ( MouseEventArgs e ) : void
e MouseEventArgs
return void

ParentSize() public method

public ParentSize ( int width, int height ) : void
width int
height int
return void

Render() protected method

protected Render ( System g ) : void
g System
return void

RenderCell() protected method

protected RenderCell ( IMapTile tile, System g, int x, int y ) : void
tile XCom.Interfaces.Base.IMapTile
g System
x int
y int
return void

SelectedTileChanged() public method

public SelectedTileChanged ( IMap_Base sender, SelectedTileChangedEventArgs e ) : void
sender XCom.Interfaces.Base.IMap_Base
e XCom.Interfaces.Base.SelectedTileChangedEventArgs
return void

SimpleMapPanel() public method

public SimpleMapPanel ( ) : System
return System

UpperPath() protected method

protected UpperPath ( int x, int y ) : GraphicsPath
x int
y int
return System.Drawing.Drawing2D.GraphicsPath

viewDrag() protected method

protected viewDrag ( object sender, EventArgs ex ) : void
sender object
ex System.EventArgs
return void

Property Details

hWidth protected_oe property

protected int hWidth
return int

minHeight protected_oe property

protected int minHeight
return int