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