This is WinDel.h in view mode; [Download] [Up]
/* Generated by Interface Builder */
#import <objc/Object.h>
// WinDel is a simple window delegate that keeps track of whether the user
// has ordered a window away or not. In PacMan, the GameBrain uses these
// to determine wheter or not to bring forward the Stats and FruitBasket
// windows when the app is activated. (Both windows disappear when the
// app loses key status, but when they come back upon re-activation, we need
// to be sure that they are layered properly. Simply ordering them out to do
// the layering is unacceptable, since the user may not want the windows up.
// Thus, when the game brain brings the windows out in the specific order, it
// queries the WinDel to see if the window should be ordered out or not.)
@interface WinDel:Object
{
BOOL winIsOn;
}
- init;
- (BOOL)windowUp;
- windowWillClose:sender;
- windowDidBecomeKey:sender;
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.