aboutsummaryrefslogtreecommitdiffhomepage
path: root/example/mac/HelloWorldDelegate.mm
diff options
context:
space:
mode:
Diffstat (limited to 'example/mac/HelloWorldDelegate.mm')
-rw-r--r--example/mac/HelloWorldDelegate.mm27
1 files changed, 0 insertions, 27 deletions
diff --git a/example/mac/HelloWorldDelegate.mm b/example/mac/HelloWorldDelegate.mm
deleted file mode 100644
index f3c08107a2..0000000000
--- a/example/mac/HelloWorldDelegate.mm
+++ /dev/null
@@ -1,27 +0,0 @@
-#import "HelloWorldDelegate.h"
-
-#include "SkApplication.h"
-
-@implementation HelloWorldDelegate
-@synthesize fWindow, fView, fOptions;
-
-// for iOS
--(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