mirror of https://github.com/axmolengine/axmol.git
issue #2325: Updating title for Mac projects.
This commit is contained in:
parent
74149c7f11
commit
ec5edeb8f6
|
@ -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];
|
||||
|
||||
|
|
|
@ -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];
|
||||
|
||||
|
|
|
@ -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];
|
||||
|
||||
|
|
|
@ -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];
|
||||
|
||||
|
|
|
@ -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];
|
||||
|
||||
|
|
Loading…
Reference in New Issue