home *** CD-ROM | disk | FTP | other *** search
- #import <appkit/appkit.h>
-
- #import "PSActionView.h"
-
- @implementation PSActionView
-
- - initFrame:(NXRect *) frameRect
- {
- [super initFrame:frameRect];
-
- image = [NXImage findImageNamed:"PSActionPalette"];
-
- return self;
- }
-
- - drawSelf:(const NXRect *) rects :(int) rectCount
- {
- NXPoint origin = {0.0, 0.0};
-
- if (image != nil) [image composite:NX_COPY toPoint:&origin];
-
- return self;
- }
-
- @end
-