mirror of
https://github.com/workinghard/Cube4Fun.git
synced 2025-12-14 04:42:09 +00:00
a
This commit is contained in:
@@ -8,17 +8,17 @@
|
||||
|
||||
import Cocoa
|
||||
|
||||
var _animationsWindow: NSWindow = NSWindow()
|
||||
|
||||
@NSApplicationMain
|
||||
class AppDelegate: NSObject, NSApplicationDelegate {
|
||||
|
||||
@IBOutlet weak var window: NSWindow!
|
||||
@IBOutlet weak var projectWindow: NSWindow!
|
||||
|
||||
|
||||
@IBOutlet weak var closeButton: NSButton!
|
||||
@IBOutlet weak var animationsWindow: NSWindow!
|
||||
|
||||
func applicationDidFinishLaunching(aNotification: NSNotification) {
|
||||
// Insert code here to initialize your application
|
||||
_animationsWindow = animationsWindow
|
||||
}
|
||||
|
||||
func applicationShouldTerminate(sender: NSApplication) -> NSApplicationTerminateReply {
|
||||
@@ -26,9 +26,5 @@ class AppDelegate: NSObject, NSApplicationDelegate {
|
||||
return NSApplicationTerminateReply.TerminateNow
|
||||
}
|
||||
|
||||
@IBAction func closeButtonClicked(sender: AnyObject ) {
|
||||
projectWindow.close()
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user