home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / Examples / InterfaceBuilder / ProgressViewPalette / ProgressView.h < prev    next >
Text File  |  1997-01-20  |  627b  |  24 lines

  1. /*
  2.  * ProgressView.h
  3.  * Copyright (c) 1997 NeXT Software, Inc.
  4.  * All rights reserved.
  5.  *
  6.  * You may freely copy, distribute and reuse the code in this example.
  7.  * NeXT disclaims any warranty of any kind, expressed or implied,
  8.  * as to its fitness for any particular use.
  9.  */
  10.  
  11. #import <AppKit/AppKit.h>
  12.  
  13. @interface ProgressView : NSView
  14. {
  15.     float    percentageIncrement;
  16.     float    percentage;
  17. }
  18. - (float)percentageIncrement;
  19. - (void)setPercentageIncrement:(float)percentageIncrement;
  20. - (float)percentage;
  21. - (void)setPercentage:(float)percentageComplete;
  22. - (void)increment:(id)sender;    // Increment by `percentageIncrement'.
  23. @end
  24.