C# Class FlatRedBall.AnimationEditorForms.AnimationFrameDisplayer

Inheritance: FlatRedBall.Glue.GuiDisplay.PropertyGridDisplayer
Datei anzeigen Open project: vchelaru/FlatRedBall Class Usage Examples

Private Properties

Property Type Description
CoordinateChange void
GetPixelHeight object
GetPixelWidth object
GetPixelX object
GetPixelY object
GetRelativeX object
GetRelativeY object
GetTextureName object
GetTileX object
GetTileY object
RefreshShownProperties void
SetForPixelCoordinates void
SetRelativeX void
SetRelativeY void
TextureNameChange void

Public Methods

Method Description
AnimationFrameDisplayer ( ) : System
SetFrame ( AnimationFrameSave animationFrameSave, Microsoft.Xna.Framework.Graphics.Texture2D texture2D ) : void
SetTileX ( AnimationFrameSave frame, int valueAsInt ) : void
SetTileY ( AnimationFrameSave frame, int valueAsInt ) : void
ShouldAskUserToCopyFile ( string absoluteFileName ) : bool
ShowWarningsForTooBigTextures ( string absoluteFileName ) : void
TryAskToMoveFileRelativeToAnimationChainFile ( string &absoluteFileName, string &achxFolder ) : bool

Private Methods

Method Description
CoordinateChange ( object sender, MemberChangeArgs args ) : void
GetPixelHeight ( ) : object
GetPixelWidth ( ) : object
GetPixelX ( ) : object
GetPixelY ( ) : object
GetRelativeX ( ) : object
GetRelativeY ( ) : object
GetTextureName ( ) : object
GetTileX ( ) : object
GetTileY ( ) : object
RefreshShownProperties ( ) : void
SetForPixelCoordinates ( float &value, int dimension ) : void
SetRelativeX ( object sender, MemberChangeArgs args ) : void
SetRelativeY ( object sender, MemberChangeArgs args ) : void
TextureNameChange ( object sender, MemberChangeArgs args ) : void

Method Details

AnimationFrameDisplayer() public method

public AnimationFrameDisplayer ( ) : System
return System

SetFrame() public method

public SetFrame ( AnimationFrameSave animationFrameSave, Microsoft.Xna.Framework.Graphics.Texture2D texture2D ) : void
animationFrameSave FlatRedBall.Content.AnimationChain.AnimationFrameSave
texture2D Microsoft.Xna.Framework.Graphics.Texture2D
return void

SetTileX() public method

public SetTileX ( AnimationFrameSave frame, int valueAsInt ) : void
frame FlatRedBall.Content.AnimationChain.AnimationFrameSave
valueAsInt int
return void

SetTileY() public method

public SetTileY ( AnimationFrameSave frame, int valueAsInt ) : void
frame FlatRedBall.Content.AnimationChain.AnimationFrameSave
valueAsInt int
return void

ShouldAskUserToCopyFile() public static method

public static ShouldAskUserToCopyFile ( string absoluteFileName ) : bool
absoluteFileName string
return bool

ShowWarningsForTooBigTextures() public static method

public static ShowWarningsForTooBigTextures ( string absoluteFileName ) : void
absoluteFileName string
return void

TryAskToMoveFileRelativeToAnimationChainFile() public static method

public static TryAskToMoveFileRelativeToAnimationChainFile ( string &absoluteFileName, string &achxFolder ) : bool
absoluteFileName string
achxFolder string
return bool