1 #import <Cocoa/Cocoa.h>
5 @interface GLIoView
: NSOpenGLView
8 NSTrackingRectTag trackingRectTag
;
9 NSMutableDictionary
*timers
;
18 BOOL doesPassiveMotion
;
26 NSWindow
*FullScreenWindow
;
27 NSWindow
*StartingWindow
;
29 IBOutlet NSMenuItem
*mainMenu
;
30 IBOutlet NSMenuItem
*aboutMenu
;
31 IBOutlet NSMenuItem
*hideMenu
;
32 IBOutlet NSMenuItem
*quitMenu
;
37 - (void)drawRect
:(NSRect
)rect
;
39 - (void)setTrackingRect
;
40 - (void)postRedisplay
;
42 - (void)setReshape
:(BOOL
)b
;
43 - (void)setDisplay
:(BOOL
)b
;
44 - (void)setPassiveMotion
:(BOOL
)b
;
45 - (void)setEntry
:(BOOL
)b
;
46 - (void)setMouse
:(BOOL
)b
;
47 - (void)setMotion
:(BOOL
)b
;
48 - (void)setKeyboard
:(BOOL
)b
;
53 - (void)mouseDown
:(NSEvent
*)event
;
54 - (void)mouseUp
:(NSEvent
*)event
;
55 - (void)keyDown
:(NSEvent
*)event
;
56 - (void)keyUp
:(NSEvent
*)event
;
60 - (void)doTimer
:(id
)timerId
;
61 - (void)addTimer
:(NSTimer
*)aTimer
;
62 - (IBAction
)stopTimers
:(id
)sender
;
63 - (IBAction
)redisplay
:(id
)sender
;
65 - (void)overrideIoGLMethods
;
67 - (IBAction
)toggleFullScreen
:(id
)sender
;