home *** CD-ROM | disk | FTP | other *** search
-
- /* Generated by Interface Builder */
-
- #import <appkit/appkit.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 wether 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
-