C# Class Paint.AppDelegate

Afficher le fichier Open project: RandolphBurt/MonoGame-iOS-SimplePaint

Méthodes publiques

Méthode Description
DidEnterBackground ( UIApplication application ) : void
FinishedLaunching ( UIApplication app, NSDictionary options ) : bool
WillEnterForeground ( UIApplication application ) : void

Private Methods

Méthode Description
BackToHomeScreenAfterEdit ( ) : void

Re-initialise the home screen after our editing

CanvasPlaybackAppExiting ( object sender, EventArgs e ) : void

Called once the 'playback app' has exited.

CheckInitialInstallation ( ) : void

Checks if this is the initial installation - and if so then performs some initial one off set-up

CreateDirectoryStructure ( ) : void

Creates the directory structure required by this app

CreateFilenameResolver ( Guid pictureId ) : FilenameResolver

Creates the filename resolver.

EditImage ( Guid pictureId, ImageStateData imageStateData = null ) : void

Edits a specific image.

LaunchHomeScreen ( ) : void
NewImage ( PictureOrientation orientation ) : void

Start painting a new image

PaintAppExiting ( object sender, EventArgs e ) : void

Called once the 'paint app' has exited.

PlaybackImage ( Guid pictureId ) : void

Playback an image.

ReleaseDesignerOutlets ( ) : void
SetOrientation ( PictureOrientation requiredOrientation ) : void

Sets the orientation of the device.

SetOrientationForImage ( ImageStateData imageStateData ) : void

Sets the orientation of the device based on the image dimensions.

WriteVersionFile ( ) : void

Writes the version file. May be used in the future if we want to track which version the app was previously running (e.g. after an upgrade)

Method Details

DidEnterBackground() public méthode

public DidEnterBackground ( UIApplication application ) : void
application UIApplication
Résultat void

FinishedLaunching() public méthode

public FinishedLaunching ( UIApplication app, NSDictionary options ) : bool
app UIApplication
options NSDictionary
Résultat bool

WillEnterForeground() public méthode

public WillEnterForeground ( UIApplication application ) : void
application UIApplication
Résultat void