home *** CD-ROM | disk | FTP | other *** search
/ Nebula 1994 June / NEBULA_SE.ISO / SourceCode / MiscKit / Palettes / MiscCircularSlider / MiscCircularSlider.subproj / MiscCircularSlider.h < prev    next >
Encoding:
Text File  |  1994-03-27  |  1.6 KB  |  58 lines

  1. //
  2. //    MiscCircularSlider.h -- a cover for the MiscCircularSliderCell class
  3. //        Written by Vince DeMarco and Don Yacktman, (c) 1994 by Vince DeMarco.
  4. //                Version 1.0  All rights reserved.
  5. //        This notice may not be removed from this source code.
  6. //
  7. //    This object is included in the MiscKit by permission from the author
  8. //    and its use is governed by the MiscKit license, found in the file
  9. //    "LICENSE.rtf" in the MiscKit distribution.  Please refer to that file
  10. //    for a list of all applicable permissions and restrictions.
  11. //    
  12.  
  13. // This was created by modifying Vince's CircularSlider class and
  14. // merging it with Don's RotationSlider class.  Here's the info
  15. // from the original files.
  16. /*
  17.  *    Filename: CircularSlider.h
  18.  *      Created : Sat Aug 24 21:25:44 1991
  19.  *    Author  : Vince DeMarco <vince@whatnxt.cuc.ab.ca>
  20.  *    LastEditDate Was "Mon Sep  6 16:31:50 1993"
  21.  *    Version 2.0
  22.  */
  23. //    RotationSlider.h -- written by Don Yacktman
  24. //    Copyright 1993 by Don Yacktman.  All rights reserved.
  25.  
  26. #import <appkit/Slider.h>
  27. #import <misckit/MiscCircularSliderCell.h>
  28.  
  29. @interface MiscCircularSlider:Slider
  30. {
  31. }
  32.  
  33. + initialize;
  34. + setCellClass:classId;
  35. - initFrame:(NXRect *)nf;
  36. - setBezeled:(BOOL)value;
  37. - (BOOL)isBezeled;
  38. - setBordered:(BOOL)value;
  39. - (BOOL)isBordered;
  40. - setJumpToMousePoint:(BOOL)aBOOL;
  41. - (BOOL)jumpToMousePoint;
  42. - setHidden:(BOOL)aBOOL;
  43. - (BOOL)hidden;
  44. - setSliderStyle:(MiscCircularSliderStyle)style;
  45. - (MiscCircularSliderStyle)sliderStyle;
  46. - setSliderPathWidth:(float)value;
  47. - (float)sliderPathWidth;
  48.  
  49. @end
  50.  
  51.  
  52. @interface MiscCircularSlider(Compatability)
  53.  
  54. - setDrawAsPieChart:(BOOL)aBOOL;
  55. - (BOOL)drawAsPieChart;
  56.  
  57. @end
  58.