ftp.nice.ch/pub/next/connectivity/protocol/Timer.N.bs.tar.gz#/Timer/ClockView.m

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

#import "ClockView.h"
#import "TimerPS.h"
#import <appkit/appkit.h>

@implementation ClockView

- setValue:(float)aFloat {

	value = aFloat;
	
	return [self display];
}

- drawSelf:(const NXRect *)rects :(int)count {

	static	isInit = NO;
	
	if( !isInit ) {
		isInit = YES;
		define_clock_funs();
	}
	
	clock_fun(value,frame.size.width);
	
	return self;
}

@end

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