C# Class KBS2.Controls.BlueprintPanel

Mostra file Open project: Railec/SE1cKBS2 Class Usage Examples

Public Properties

Property Type Description
ActiveBlueprint Blueprint
CornerSnapDistance int
HoveredCorner Corner
HoveredRoom KBS2.Models.Room
HoveredWall Wall
OriginalBlueprint Blueprint
Renderer BlueprintRenderer
SelectedCorner Corner
SelectedRoom KBS2.Models.Room
SelectedWall Wall
WallDistance int
_currentRoom KBS2.Models.Room

Public Methods

Method Description
BlueprintPanel ( ) : System
GetEditMode ( ) : bool
ResizeElement ( ) : void
SetEditMode ( bool editMode, bool restore = false ) : void

Protected Methods

Method Description
EventContextMenuAddCornerToCurrentRoom ( object sender, EventArgs e ) : void
EventContextMenuAddCornerToSelectedRoom ( object sender, EventArgs e ) : void
EventContextMenuConnectCornersWithWall ( object sender, EventArgs e ) : void
EventContextMenuDeleteCorner ( object sender, EventArgs e ) : void
EventContextMenuDeleteRoom ( object sender, EventArgs e ) : void
EventContextMenuDeleteWall ( object sender, EventArgs e ) : void
EventContextMenuDoorChangeDirection ( object sender, EventArgs e ) : void
EventContextMenuDoorChangeHinge ( object sender, EventArgs e ) : void
EventContextMenuDoorToWall ( object sender, EventArgs e ) : void
EventContextMenuEdit ( object sender, EventArgs e ) : void
EventContextMenuEditRoom ( object sender, EventArgs e ) : void
EventContextMenuNewCorner ( object sender, EventArgs e ) : void
EventContextMenuNewCornerWithWall ( object sender, EventArgs e ) : void
EventContextMenuNewRoom ( object sender, EventArgs e ) : void
EventContextMenuSave ( object sender, EventArgs e ) : void
EventContextMenuUndo ( object sender, EventArgs e ) : void
EventContextMenuWallToDoor ( object sender, EventArgs e ) : void
LoadContextMenu ( ) : void
OnMouseDown ( MouseEventArgs e ) : void
OnMouseMove ( MouseEventArgs e ) : void
OnMouseUp ( MouseEventArgs e ) : void
OnPaint ( PaintEventArgs e ) : void

Method Details

BlueprintPanel() public method

public BlueprintPanel ( ) : System
return System

EventContextMenuAddCornerToCurrentRoom() protected method

protected EventContextMenuAddCornerToCurrentRoom ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

EventContextMenuAddCornerToSelectedRoom() protected method

protected EventContextMenuAddCornerToSelectedRoom ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

EventContextMenuConnectCornersWithWall() protected method

protected EventContextMenuConnectCornersWithWall ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

EventContextMenuDeleteCorner() protected method

protected EventContextMenuDeleteCorner ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

EventContextMenuDeleteRoom() protected method

protected EventContextMenuDeleteRoom ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

EventContextMenuDeleteWall() protected method

protected EventContextMenuDeleteWall ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

EventContextMenuDoorChangeDirection() protected method

protected EventContextMenuDoorChangeDirection ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

EventContextMenuDoorChangeHinge() protected method

protected EventContextMenuDoorChangeHinge ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

EventContextMenuDoorToWall() protected method

protected EventContextMenuDoorToWall ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

EventContextMenuEdit() protected method

protected EventContextMenuEdit ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

EventContextMenuEditRoom() protected method

protected EventContextMenuEditRoom ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

EventContextMenuNewCorner() protected method

protected EventContextMenuNewCorner ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

EventContextMenuNewCornerWithWall() protected method

protected EventContextMenuNewCornerWithWall ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

EventContextMenuNewRoom() protected method

protected EventContextMenuNewRoom ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

EventContextMenuSave() protected method

protected EventContextMenuSave ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

EventContextMenuUndo() protected method

protected EventContextMenuUndo ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

EventContextMenuWallToDoor() protected method

protected EventContextMenuWallToDoor ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
return void

GetEditMode() public method

public GetEditMode ( ) : bool
return bool

LoadContextMenu() protected method

protected LoadContextMenu ( ) : void
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

OnPaint() protected method

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

ResizeElement() public method

public ResizeElement ( ) : void
return void

SetEditMode() public method

public SetEditMode ( bool editMode, bool restore = false ) : void
editMode bool
restore bool
return void

Property Details

ActiveBlueprint public_oe property

public Blueprint ActiveBlueprint
return Blueprint

CornerSnapDistance public_oe property

public int CornerSnapDistance
return int

HoveredCorner public_oe property

public Corner HoveredCorner
return Corner

HoveredRoom public_oe property

public Room,KBS2.Models HoveredRoom
return KBS2.Models.Room

HoveredWall public_oe property

public Wall HoveredWall
return Wall

OriginalBlueprint public_oe property

public Blueprint OriginalBlueprint
return Blueprint

Renderer public_oe property

public BlueprintRenderer Renderer
return BlueprintRenderer

SelectedCorner public_oe property

public Corner SelectedCorner
return Corner

SelectedRoom public_oe property

public Room,KBS2.Models SelectedRoom
return KBS2.Models.Room

SelectedWall public_oe property

public Wall SelectedWall
return Wall

WallDistance public_oe property

public int WallDistance
return int

_currentRoom public_oe property

public Room,KBS2.Models _currentRoom
return KBS2.Models.Room