This is InfoPanel.m in view mode; [Download] [Up]
/***(InfoPanel.m)**************************************************************
*H* WideScreen's Info Panel class implmentation V0.1, 26-APR-92 *
*C* V0.1 26-APR-92 Initial version --MDM *
******************************************************************************/
#import "InfoPanel.h"
#import <appkit/Application.h>
#import <appkit/Window.h>
@implementation InfoPanel
/******************************************************************************
* INSTANCE METHOD:- init *
* This method initializes an instance of a InfoPanel object and then loads *
* the NIB module for the Info panel. *
******************************************************************************/
- init
{/* BEGIN init */
/* Create the parent object */
self = [super init];
/* Load the NIB hierarchy: this also sets the outlet variable IVinfoPanel */
[NXApp loadNibSection:"InfoPanel.nib" owner:self];
return(self);
}/* END init */
/******************************************************************************
* INSTANCE METHOD: ExposeAndFocus *
* This method displays the InfoPanel on the top of the window stack and *
* gives it the keyboard focus. *
******************************************************************************/
- ExposeAndFocus:sender
{/* BEGIN ExposeAndFocus */
[IVinfoPanel makeKeyAndOrderFront:self];
return self;
}/* END ExposeAndFocus */
@endThese are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.