home *** CD-ROM | disk | FTP | other *** search
-
- #import "Controller.h"
- #import "WowView.h"
-
- @implementation Controller
-
- - infoPanel // return the infoPanel, load it if needed.
- {
- if (!infoPanel)
- [NXApp loadNibSection:"InfoPanel.nib" owner:self withNames:NO];
- return infoPanel;
- }
-
- - info:sender // make the info panel be up there.
- {
- [[self infoPanel] orderFront:sender];
- [niftyView start:self]; // will stop automatically on close by
- // using window's delegate method -windowWillClose:
- return self;
- }
-
- - infoPanel2 // return the infoPanel, load it if needed.
- {
- if (!infoPanel2)
- [NXApp loadNibSection:"InfoPanel2.nib" owner:self withNames:NO];
- return infoPanel2;
- }
-
- - info2:sender // make the info panel be up there.
- {
- [[self infoPanel2] orderFront:sender];
- return self;
- }
-
- @end
-