issue #2325: Updating title for Mac projects.

This commit is contained in:
James Chen 2013-07-02 10:42:50 +08:00
parent 74149c7f11
commit ec5edeb8f6
5 changed files with 8 additions and 8 deletions

View File

@ -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];

View File

@ -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];

View File

@ -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];

View File

@ -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];

View File

@ -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];