C# Class Paint.AppDelegate

Mostrar archivo Open project: RandolphBurt/MonoGame-iOS-SimplePaint

Public Methods

Method Description
DidEnterBackground ( UIApplication application ) : void
FinishedLaunching ( UIApplication app, NSDictionary options ) : bool
WillEnterForeground ( UIApplication application ) : void

Private Methods

Method 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 method

public DidEnterBackground ( UIApplication application ) : void
application UIApplication
return void

FinishedLaunching() public method

public FinishedLaunching ( UIApplication app, NSDictionary options ) : bool
app UIApplication
options NSDictionary
return bool

WillEnterForeground() public method

public WillEnterForeground ( UIApplication application ) : void
application UIApplication
return void