Index: example/mac/HelloWorldDelegate.mm |
diff --git a/src/views/mac/SampleAppDelegate.mm b/example/mac/HelloWorldDelegate.mm |
similarity index 82% |
copy from src/views/mac/SampleAppDelegate.mm |
copy to example/mac/HelloWorldDelegate.mm |
index 2d4503489706735a74c08e15e0a6de3d8f93ba39..f3c08107a2077e19d25eefc6c459567c4a23deff 100644 |
--- a/src/views/mac/SampleAppDelegate.mm |
+++ b/example/mac/HelloWorldDelegate.mm |
@@ -1,15 +1,16 @@ |
-#import "SampleAppDelegate.h" |
+#import "HelloWorldDelegate.h" |
#include "SkApplication.h" |
-@implementation SampleAppDelegate |
+@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()]; |
+ // [fOptions registerMenus:fView.fWind->getMenus()]; |
} |
- (IBAction)toiPadSize:(id)sender { |