ftp.nice.ch/pub/next/tools/frontends/SystemWorks.1.1.N.bs.tar.gz#/SystemWorks-1.1/MyCell.m

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

/* Generated by Interface Builder */

#import "MyCell.h"
#import <dpsclient/wraps.h>

@implementation MyCell

- init
{
	[super init];
	color = 0.333;
	return self;
}

- (float) color
{
	return color;
}

- setColor:(float)newcolor
{
	color = newcolor;
	return self;
}


- drawInside:(const NXRect *)cellFrame inView:controlView
{
	NXRect insideRect;
	NXSetRect(&insideRect,NX_X(cellFrame),NX_Y(cellFrame),
			  NX_WIDTH(cellFrame),NX_HEIGHT(cellFrame));
	[self getDrawRect:&insideRect];
	PSsetgray(color);
	NXRectFill(&insideRect);
}
@end

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