home *** CD-ROM | disk | FTP | other *** search
- #import "DocView.h"
-
- #import <appkit/Control.h>
- #import <dpsclient/wraps.h>
-
- @implementation DocView
-
- +newFrame:(const NXRect *)tF
- {
- self = [super newFrame:tF];
- return self;
- }
-
- - drawSelf:(NXRect*)r :(int)c
- {
- PSsetgray(1.0);
- NXRectFill(r);
- PSsetgray(0.0);
- PSsetlinewidth(4.);
- PSnewpath();
- PSmoveto(50.0, 50.0);
- PSlineto(200.0, 400.0);
- PSstroke();
- return self;
- }
-
-
-