ftp.nice.ch/pub/next/developer/resources/palettes/PSActionPalette.NI.bs.tar.gz#/PSActionPalette/PSActionView.m

This is PSActionView.m in view mode; [Download] [Up]

#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

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.