mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
*** empty log message ***
This commit is contained in:
parent
8d8a4cf620
commit
f99d339ddf
@ -1039,6 +1039,8 @@ bool osxGraphicsWindow::OSOpenWindow(WindowProperties &req_properties)
|
|||||||
NSWindow* childWindow = [[NSWindow alloc] initWithWindowRef:_osx_window];
|
NSWindow* childWindow = [[NSWindow alloc] initWithWindowRef:_osx_window];
|
||||||
|
|
||||||
[childWindow setFrameOrigin:origin];
|
[childWindow setFrameOrigin:origin];
|
||||||
|
[childWindow setAcceptsMouseMovedEvents:YES];
|
||||||
|
[childWindow setBackgroundColor:[NSColor blackColor]];
|
||||||
[parentWindow addChildWindow:childWindow ordered:NSWindowAbove];
|
[parentWindow addChildWindow:childWindow ordered:NSWindowAbove];
|
||||||
[childWindow orderFront:nil];
|
[childWindow orderFront:nil];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user