C# Class Azmyth.Editor.GridControl

Inheritance: System.Windows.Forms.Control
Datei anzeigen Open project: GalacticSoft/Azmyth

Public Properties

Property Type Description
m_world Azmyth.Assets.World

Private Properties

Property Type Description
InitializeComponent void
PaintBorder void
PaintCells void
PaintDebug void
PaintGrid void
PaintHighlightedCell void
UpdateCellLocations void

Public Methods

Method Description
GridControl ( ) : System
IsSelected ( Point p ) : bool
IsSelected ( TerrainTile room ) : bool
IsSelected ( int x, int y ) : bool

Protected Methods

Method Description
OnKeyDown ( KeyEventArgs e ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnMouseWheel ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void

Private Methods

Method Description
InitializeComponent ( ) : void
PaintBorder ( Graphics g ) : void
PaintCells ( Graphics g ) : void
PaintDebug ( Graphics g ) : void
PaintGrid ( Graphics g ) : void
PaintHighlightedCell ( Graphics g ) : void
UpdateCellLocations ( Graphics g ) : void

Method Details

GridControl() public method

public GridControl ( ) : System
return System

IsSelected() public method

public IsSelected ( Point p ) : bool
p Point
return bool

IsSelected() public method

public IsSelected ( TerrainTile room ) : bool
room Azmyth.Assets.TerrainTile
return bool

IsSelected() public method

public IsSelected ( int x, int y ) : bool
x int
y int
return bool

OnKeyDown() protected method

protected OnKeyDown ( KeyEventArgs e ) : void
e System.Windows.Forms.KeyEventArgs
return void

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

OnPaint() protected method

protected OnPaint ( PaintEventArgs e ) : void
e PaintEventArgs
return void

Property Details

m_world public_oe property

public World,Azmyth.Assets m_world
return Azmyth.Assets.World