Panda3D
Loading...
Searching...
No Matches
cocoaPandaWindow.h
Go to the documentation of this file.
1/**
2 * PANDA 3D SOFTWARE
3 * Copyright (c) Carnegie Mellon University. All rights reserved.
4 *
5 * All use of this software is subject to the terms of the revised BSD
6 * license. You should have received a copy of this license along
7 * with this source code in a file named "LICENSE."
8 *
9 * @file cocoaPandaWindow.h
10 * @author rdb
11 * @date 2012-05-25
12 */
13
14#import <AppKit/NSWindow.h>
15
17
18@interface CocoaPandaWindow : NSWindow {
19 @private
20 CocoaGraphicsWindow *_graphicsWindow;
21}
22
23- (id) initWithContentRect:(NSRect)rect styleMask:(NSUInteger)styleMask screen:(NSScreen*)screen window:(CocoaGraphicsWindow*)window;
24- (BOOL) canBecomeKeyWindow;
25- (BOOL) canBecomeMainWindow;
26- (BOOL) acceptsFirstResponder;
27- (BOOL) becomeFirstResponder;
28- (BOOL) resignFirstResponder;
29
30@end
An interface to the Cocoa system for managing OpenGL windows under Mac OS X.