home *** CD-ROM | disk | FTP | other *** search
- /**********************************************************************
- ProgressView.h
-
- Author: (taken from NeXT doc, DevTools/18_CustomPalette)
- Date: 9 December, 1992
- **********************************************************************/
- #import <appkit/View.h>
-
- #define DEFAULTSTEPSIZE 5
- #define MAXSIZE 100
-
- @interface ProgressView:View
- {
- int total;
- int count;
- int stepSize;
- float ratio;
- }
-
- - initFrame:(const NXRect *)frameRect;
- - drawSelf:(const NXRect *)rects :(int)rectCount;
- - setStepSize:(int)value;
- - (int)stepSize;
- - setRatio:(float)newRatio;
- - increment:sender;
- - read:(NXTypedStream*)stream;
- - write:(NXTypedStream*)stream;
-
- @end
-