diff --git a/A2Mac/AppDelegate.swift b/A2Mac/AppDelegate.swift index 1a971f4..4a6708a 100644 --- a/A2Mac/AppDelegate.swift +++ b/A2Mac/AppDelegate.swift @@ -67,8 +67,29 @@ class AppDelegate: NSObject, NSApplicationDelegate { if ( preferencesController != nil ) { preferencesController?.showWindow(sender) } - } + @IBAction func PowerOn(_ sender: Any) { + ViewController.current?.PowerOn(sender) + } + + @IBAction func Pause(_ sender: Any) { + ViewController.current?.Pause(sender) + } + + @IBAction func PowerOff(_ sender: Any) { + ViewController.current?.PowerOff(sender) + } + + @IBAction func ColdReset(_ sender: Any) { + ViewController.current?.Reset(sender) + } + + @IBAction func WarmReset(_ sender: Any) { + ViewController.current?.Reset(sender) + } + + + } diff --git a/A2Mac/Base.lproj/Main.storyboard b/A2Mac/Base.lproj/Main.storyboard index 442f8e7..5c430e7 100644 --- a/A2Mac/Base.lproj/Main.storyboard +++ b/A2Mac/Base.lproj/Main.storyboard @@ -778,35 +778,50 @@ + + + + + + + + + + + + + + + - + - + - + - + - + @@ -1367,7 +1382,7 @@ - +