mirror of
https://github.com/glfw/glfw.git
synced 2025-10-05 06:06:36 +00:00
21 lines
430 B
Objective-C
21 lines
430 B
Objective-C
#import <AppKit/NSApplication.h> // NSApplicationDelegate
|
|
#import <AppKit/NSWindow.h>
|
|
|
|
@interface AppDelegate : NSObject <NSApplicationDelegate>
|
|
|
|
@property (assign, nonatomic) IBOutlet NSWindow *window;
|
|
|
|
@property (assign, atomic) NSTimer *stepTimer;
|
|
|
|
-(IBAction)createGlfwWindow:(id)sender;
|
|
|
|
-(IBAction)singleStep:(id)sender;
|
|
|
|
-(IBAction)closeGlfwWindow:(id)sender;
|
|
|
|
-(IBAction)run:(id)sender;
|
|
|
|
-(IBAction)stop:(id)sender;
|
|
|
|
@end
|