This is GameInspectorPanel.m in view mode; [Download] [Up]
#import "GameInspectorPanel.h" #import "GoApp.h" @implementation GameInspectorPanel - keyDown:(NXEvent *)theEvent { if([ControlPanel isVisible]) { [ControlPanel makeKeyAndOrderFront:self]; [ControlPanel sendEvent:theEvent]; [NXApp setCommandSender:self]; return self; } else return [super keyDown:theEvent]; } @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.