C# Class SpriteMaker.MainWindow

Interaction logic for MainWindow.xaml
Inheritance: INotifyPropertyChanged
Afficher le fichier Open project: impworks/xna.geek.engine

Méthodes publiques

Méthode Description
MainWindow ( ) : System

Méthodes protégées

Méthode Description
notifyPropertyChanged ( string property ) : void

Private Methods

Méthode Description
AddFilesCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs args ) : void
DeleteCommand_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs args ) : void
DeleteCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs args ) : void
GenerateCommand_CanExecute ( object sender, System.Windows.Input.CanExecuteRoutedEventArgs args ) : void
GenerateCommand_Executed ( object sender, System.Windows.Input.ExecutedRoutedEventArgs args ) : void
createCanvas ( ICollection images ) : Bitmap

Create a new canvas to put all images onto.

generateSprite ( string fileName ) : void

Create a sprite out of the list.

loadImages ( IEnumerable sources ) : List

Load images into memory.

pasteFrames ( Image target, IEnumerable sources ) : void

Paste all frames onto a single image.

showSuccess ( string fileName ) : void
validateImages ( ICollection images ) : void

Make sure there are enough images and they're of equal size!

Method Details

MainWindow() public méthode

public MainWindow ( ) : System
Résultat System

notifyPropertyChanged() protected méthode

protected notifyPropertyChanged ( string property ) : void
property string
Résultat void