home *** CD-ROM | disk | FTP | other *** search
/ Big Green CD 8 / BGCD_8_Dev.iso / NEXTSTEP / Utilities / Fiend-1.4.1-src / ProgressView.h < prev    next >
Encoding:
Text File  |  1994-09-20  |  657 b   |  30 lines

  1. /**********************************************************************
  2.     ProgressView.h
  3.  
  4.     Author:    (taken from NeXT doc, DevTools/18_CustomPalette)
  5.     Date:    9 December, 1992
  6. **********************************************************************/
  7. #import <appkit/View.h>
  8.  
  9. #define DEFAULTSTEPSIZE 5
  10. #define MAXSIZE 100
  11.  
  12. @interface ProgressView:View
  13. {
  14.     int        total;
  15.     int        count;
  16.     int        stepSize;
  17.     float    ratio;
  18. }
  19.  
  20. - initFrame:(const NXRect *)frameRect;
  21. - drawSelf:(const NXRect *)rects :(int)rectCount;
  22. - setStepSize:(int)value;
  23. - (int)stepSize;
  24. - setRatio:(float)newRatio;
  25. - increment:sender;
  26. - read:(NXTypedStream*)stream;
  27. - write:(NXTypedStream*)stream;
  28.  
  29. @end
  30.