C# Class SphereStudio.Plugins.SpritesetEditView

Inheritance: Sphere.Plugins.Views.DocumentView
显示文件 Open project: Radnen/spherestudio Class Usage Examples

Public Methods

Method Description
Activate ( ) : void
AddNewDirection ( ) : void
Deactivate ( ) : void
GetContent ( string persist ) : IDockContent
Init ( ) : void
Load ( string filepath ) : void
NewDocument ( ) : bool
RemoveDirection ( DirectionLayout layout ) : void
RescaleAll ( ) : void
ResizeAll ( ) : void
Save ( string filepath ) : void
SaveLayout ( ) : void
SpritesetEditView ( PluginMain main ) : Sphere.Core
UpdateControls ( ) : void
ZoomIn ( ) : void
ZoomOut ( ) : void

Private Methods

Method Description
CallFormResize ( bool rescale ) : void
InitializeDocking ( ) : void
Modified ( object sender, EventArgs e ) : void
SpriteDrawer_ImageChanged ( object sender, EventArgs e ) : void
_tileset_ctrl_TileAdded ( short startindex, List tiles ) : void
_tileset_ctrl_TileRemoved ( short startindex, List tiles ) : void
_tileset_ctrl_TileSelected ( List tiles ) : void
layout_OnFrameClick ( object sender, EventArgs e ) : void

Method Details

Activate() public method

public Activate ( ) : void
return void

AddNewDirection() public method

public AddNewDirection ( ) : void
return void

Deactivate() public method

public Deactivate ( ) : void
return void

GetContent() public method

public GetContent ( string persist ) : IDockContent
persist string
return IDockContent

Init() public method

public Init ( ) : void
return void

Load() public method

public Load ( string filepath ) : void
filepath string
return void

NewDocument() public method

public NewDocument ( ) : bool
return bool

RemoveDirection() public method

public RemoveDirection ( DirectionLayout layout ) : void
layout SphereStudio.Plugins.Components.DirectionLayout
return void

RescaleAll() public method

public RescaleAll ( ) : void
return void

ResizeAll() public method

public ResizeAll ( ) : void
return void

Save() public method

public Save ( string filepath ) : void
filepath string
return void

SaveLayout() public method

public SaveLayout ( ) : void
return void

SpritesetEditView() public method

public SpritesetEditView ( PluginMain main ) : Sphere.Core
main PluginMain
return Sphere.Core

UpdateControls() public method

public UpdateControls ( ) : void
return void

ZoomIn() public method

public ZoomIn ( ) : void
return void

ZoomOut() public method

public ZoomOut ( ) : void
return void