
#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
