Index: src/views/mac/SampleAppDelegate.mm |
diff --git a/src/views/mac/SampleAppDelegate.mm b/src/views/mac/SampleAppDelegate.mm |
deleted file mode 100644 |
index 2d4503489706735a74c08e15e0a6de3d8f93ba39..0000000000000000000000000000000000000000 |
--- a/src/views/mac/SampleAppDelegate.mm |
+++ /dev/null |
@@ -1,26 +0,0 @@ |
-#import "SampleAppDelegate.h" |
- |
-#include "SkApplication.h" |
- |
-@implementation SampleAppDelegate |
-@synthesize fWindow, fView, fOptions; |
- |
--(void) applicationDidFinishLaunching:(NSNotification *)aNotification { |
- //Load specified skia views after launching |
- fView.fOptionsDelegate = fOptions; |
- [fWindow setAcceptsMouseMovedEvents:YES]; |
- [fOptions registerMenus:fView.fWind->getMenus()]; |
-} |
- |
-- (IBAction)toiPadSize:(id)sender { |
- NSRect frame = NSMakeRect(fWindow.frame.origin.x, fWindow.frame.origin.y, 768, 1024); |
- [fWindow setFrame:frame display:YES animate:YES]; |
-} |
- |
-- (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sender { |
- [fView freeNativeWind]; |
- application_term(); |
- return NSTerminateNow; |
-} |
- |
-@end |