From ec5edeb8f673ff43991f1304eab2e1860d64e57c Mon Sep 17 00:00:00 2001 From: James Chen Date: Tue, 2 Jul 2013 10:42:50 +0800 Subject: [PATCH] issue #2325: Updating title for Mac projects. --- samples/Javascript/CocosDragonJS/proj.mac/AppController.mm | 4 ++-- samples/Javascript/CrystalCraze/proj.mac/AppController.mm | 4 ++-- samples/Javascript/MoonWarriors/proj.mac/AppController.mm | 4 ++-- samples/Javascript/TestJavascript/proj.mac/AppController.mm | 2 +- samples/Javascript/WatermelonWithMe/proj.mac/AppController.mm | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/samples/Javascript/CocosDragonJS/proj.mac/AppController.mm b/samples/Javascript/CocosDragonJS/proj.mac/AppController.mm index 43d05cf28a..7339f0ccbd 100644 --- a/samples/Javascript/CocosDragonJS/proj.mac/AppController.mm +++ b/samples/Javascript/CocosDragonJS/proj.mac/AppController.mm @@ -36,7 +36,7 @@ // create the window // note that using NSResizableWindowMask causes the window to be a little // smaller and therefore ipad graphics are not loaded - NSRect rect = NSMakeRect(100, 100, 800, 450); + NSRect rect = NSMakeRect(100, 100, 480, 720); window = [[NSWindow alloc] initWithContentRect:rect styleMask:( NSClosableWindowMask | NSTitledWindowMask ) backing:NSBackingStoreBuffered @@ -58,7 +58,7 @@ // set window parameters [window becomeFirstResponder]; [window setContentView:glView]; - [window setTitle:@"TestCpp"]; + [window setTitle:@"JS CocosDragon"]; [window makeKeyAndOrderFront:self]; [window setAcceptsMouseMovedEvents:NO]; diff --git a/samples/Javascript/CrystalCraze/proj.mac/AppController.mm b/samples/Javascript/CrystalCraze/proj.mac/AppController.mm index 43d05cf28a..3bd0be382b 100644 --- a/samples/Javascript/CrystalCraze/proj.mac/AppController.mm +++ b/samples/Javascript/CrystalCraze/proj.mac/AppController.mm @@ -36,7 +36,7 @@ // create the window // note that using NSResizableWindowMask causes the window to be a little // smaller and therefore ipad graphics are not loaded - NSRect rect = NSMakeRect(100, 100, 800, 450); + NSRect rect = NSMakeRect(100, 100, 480, 720); window = [[NSWindow alloc] initWithContentRect:rect styleMask:( NSClosableWindowMask | NSTitledWindowMask ) backing:NSBackingStoreBuffered @@ -58,7 +58,7 @@ // set window parameters [window becomeFirstResponder]; [window setContentView:glView]; - [window setTitle:@"TestCpp"]; + [window setTitle:@"JS CrystalCraze"]; [window makeKeyAndOrderFront:self]; [window setAcceptsMouseMovedEvents:NO]; diff --git a/samples/Javascript/MoonWarriors/proj.mac/AppController.mm b/samples/Javascript/MoonWarriors/proj.mac/AppController.mm index 43d05cf28a..6e5fe701d6 100644 --- a/samples/Javascript/MoonWarriors/proj.mac/AppController.mm +++ b/samples/Javascript/MoonWarriors/proj.mac/AppController.mm @@ -36,7 +36,7 @@ // create the window // note that using NSResizableWindowMask causes the window to be a little // smaller and therefore ipad graphics are not loaded - NSRect rect = NSMakeRect(100, 100, 800, 450); + NSRect rect = NSMakeRect(100, 100, 320, 480); window = [[NSWindow alloc] initWithContentRect:rect styleMask:( NSClosableWindowMask | NSTitledWindowMask ) backing:NSBackingStoreBuffered @@ -58,7 +58,7 @@ // set window parameters [window becomeFirstResponder]; [window setContentView:glView]; - [window setTitle:@"TestCpp"]; + [window setTitle:@"JS MoonWarriors"]; [window makeKeyAndOrderFront:self]; [window setAcceptsMouseMovedEvents:NO]; diff --git a/samples/Javascript/TestJavascript/proj.mac/AppController.mm b/samples/Javascript/TestJavascript/proj.mac/AppController.mm index 43d05cf28a..bee7f8375c 100644 --- a/samples/Javascript/TestJavascript/proj.mac/AppController.mm +++ b/samples/Javascript/TestJavascript/proj.mac/AppController.mm @@ -58,7 +58,7 @@ // set window parameters [window becomeFirstResponder]; [window setContentView:glView]; - [window setTitle:@"TestCpp"]; + [window setTitle:@"JS Test"]; [window makeKeyAndOrderFront:self]; [window setAcceptsMouseMovedEvents:NO]; diff --git a/samples/Javascript/WatermelonWithMe/proj.mac/AppController.mm b/samples/Javascript/WatermelonWithMe/proj.mac/AppController.mm index 43d05cf28a..382c1bd000 100644 --- a/samples/Javascript/WatermelonWithMe/proj.mac/AppController.mm +++ b/samples/Javascript/WatermelonWithMe/proj.mac/AppController.mm @@ -58,7 +58,7 @@ // set window parameters [window becomeFirstResponder]; [window setContentView:glView]; - [window setTitle:@"TestCpp"]; + [window setTitle:@"JS WatermelonWithMe"]; [window makeKeyAndOrderFront:self]; [window setAcceptsMouseMovedEvents:NO];