
#import "InfoPanelView.h"

@implementation InfoPanelView


// 
// The first two lines clear the view,  The remaider display the
// message in the view.
//
- (void)drawRect:(NSRect)r
{
	PSsetgray (NSBlack);
	PSrectfill ([self bounds].origin.x, [self bounds].origin.y,
		[self bounds].size.width, [self bounds].size.height);


        	PSsetgray (NSLightGray);
		PSmoveto (15.0, 80.0);
		PSselectfont ("Times-Italic", 65.0);
                PSshow ("OpenStep");

                PSsetgray (NSLightGray);	
                PSmoveto (15.0, 60.0);
                PSlineto(425,60);
                
		PSsetgray (NSWhite);
		PSmoveto (45.0, 15.0);
		PSselectfont ("Times-Bold", 50.0);
                PSshow ("PS View Example");


		PSstroke();
}


@end
