This is ProgressView.h in view mode; [Download] [Up]
#import <appkit/View.h> #define DEFAULTSTEPSIZE 5 #define MAXSIZE 100 @interface ProgressView:View { int total, count, stepSize; float ratio; } - initFrame:(const NXRect *)frameRect; - drawSelf:(const NXRect *)rects :(int)rectCount; - setTotalSize: (int)value; - (int)totalSize; - setStepSize:(int)value; - (int)stepSize; - setRatio:(float)newRatio; - takeFloatValueFrom: sender; - setIntValue: (int) aValue; - (int) intValue; - takeIntValueFrom: sender; - increment:sender; - (const char *)getInspectorClassName; - read:(NXTypedStream*)stream; - write:(NXTypedStream*)stream; @end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.