C# Class MegaMan.Editor.Controls.StageControl

Interaction logic for StageLayoutControl.xaml
Inheritance: System.Windows.Controls.UserControl
ファイルを表示 Open project: Tesserex/C--MegaMan-Engine

Protected Properties

Property Type Description
_screens ScreenCanvas>.Dictionary
adornerLayer AdornerLayer

Public Methods

Method Description
InitializeComponent ( ) : void
StageControl ( ) : System
UnsetStage ( ) : void

Protected Methods

Method Description
CreateScreenCanvas ( ScreenDocument screen ) : ScreenCanvas
DestroyScreenCanvas ( ScreenCanvas canvas ) : void
FreezeLayout ( ) : void
Hook ( ) : void
LayoutScreens ( ) : void
UnfreezeLayout ( ) : void
Unhook ( ) : void

Private Methods

Method Description
GetCanvasLocation ( ScreenCanvas surface ) : MegaMan.Common.Geometry.Point
ResetScreens ( ) : void
ScreenAddedOrRemoved ( ScreenDocument obj ) : void
ScreenResized ( ScreenDocument screen, int width, int height ) : void
SetCanvasLocation ( ScreenCanvas surface, MegaMan location ) : void
SetSize ( ) : void
StageChanged ( object sender, MegaMan.Editor.Mediator.StageChangedEventArgs e ) : void
StageJoinChanged ( Join obj ) : void
StageLayoutControl_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
ToolChanged ( object sender, MegaMan.Editor.Tools.ToolChangedEventArgs e ) : void
UpdateCursor ( ) : void
ZoomChanged ( object sender, ZoomChangedEventArgs e ) : void

Method Details

CreateScreenCanvas() protected abstract method

protected abstract CreateScreenCanvas ( ScreenDocument screen ) : ScreenCanvas
screen MegaMan.Editor.Bll.ScreenDocument
return ScreenCanvas

DestroyScreenCanvas() protected abstract method

protected abstract DestroyScreenCanvas ( ScreenCanvas canvas ) : void
canvas ScreenCanvas
return void

FreezeLayout() protected method

protected FreezeLayout ( ) : void
return void

Hook() protected method

protected Hook ( ) : void
return void

InitializeComponent() public method

public InitializeComponent ( ) : void
return void

LayoutScreens() protected method

protected LayoutScreens ( ) : void
return void

StageControl() public method

public StageControl ( ) : System
return System

UnfreezeLayout() protected method

protected UnfreezeLayout ( ) : void
return void

Unhook() protected method

protected Unhook ( ) : void
return void

UnsetStage() public method

public UnsetStage ( ) : void
return void

Property Details

_screens protected_oe property

protected Dictionary _screens
return ScreenCanvas>.Dictionary

adornerLayer protected_oe property

protected AdornerLayer adornerLayer
return AdornerLayer