8 #ifndef _COCOA_IMPLEMENTATION_H_ 9 #define _COCOA_IMPLEMENTATION_H_ 11 #import <Cocoa/Cocoa.h> 21 -(
void) setShouldExit:(BOOL) exit;
23 -(
void) setLaunched:(BOOL) launched;
25 -(
void) setNumberOfOpenWindows:(
int) num;
36 -(
void) setWindow:(NSWindow*) win;
37 -(
void*) mainWindowPtr;
38 -(
void) setMainWindowPtr:(
void*) mainWindowPtr;
40 -(
void) windowWillClose:(
id) sender;
50 -(
id) initWithFrame:(NSRect) frame;
51 -(
void) drawRect:(NSRect) rect;
52 -(
void) mouseDown:(NSEvent*) event;
53 -(
void) mouseDragged:(NSEvent*) event;
54 -(
void) mouseMoved:(NSEvent*) event;
55 -(
void) mouseUp:(NSEvent*) event;
56 -(
void) keyDown:(NSEvent *) event;
57 -(
void) keyUp:(NSEvent *) event;
66 -(
void) setDragging:(BOOL) flag;
67 -(
void) mouseDown:(NSEvent*) theEvent;
74 -(
void) mouseDown:(NSEvent*) event;
75 -(
void) rightMouseDown:(NSEvent*) event;
76 -(
void) otherMouseDown:(NSEvent*) event;
77 -(
void) mouseDragged:(NSEvent*) event;
78 -(
void) mouseMoved:(NSEvent*) event;
79 -(
void) mouseUp:(NSEvent*) event;
80 -(
void) rightMouseUp:(NSEvent*) event;
81 -(
void) otherMouseUp:(NSEvent*) event;
82 -(
void) keyDown:(NSEvent *) event;
83 -(
void) keyUp:(NSEvent *) event;
int numberOfOpenWindows()
NSPoint dragStartLocation
typedef void(APIENTRYP PFNGLBLENDCOLORPROC)(GLclampf red