home *** CD-ROM | disk | FTP | other *** search
/ NeXTSTEP 3.0 / NeXTSTEP3.0.iso / NextDeveloper / Headers / appkit / Slider.h < prev    next >
Text File  |  1992-04-24  |  1KB  |  50 lines

  1. /*
  2.     Slider.h
  3.     Application Kit, Release 2.0
  4.     Copyright (c) 1988, 1989, 1990, NeXT, Inc.  All rights reserved. 
  5. */
  6.  
  7. #import "Control.h"
  8.  
  9. @interface Slider : Control
  10. {
  11. }
  12.  
  13. + setCellClass:factoryId;
  14.  
  15. - initFrame:(const NXRect *)frameRect;
  16.  
  17. - sizeToFit;
  18. - (double)minValue;
  19. - setMinValue:(double)aDouble;
  20. - (double)maxValue;
  21. - setMaxValue:(double)aDouble;
  22. - setTitleCell:aCell;
  23. - titleCell;
  24. - setTitleGray:(float)grayVal;
  25. - (float)titleGray;
  26. - setTitleColor:(NXColor)newColor;
  27. - (NXColor)titleColor;
  28. - setTitleFont:fontObj;
  29. - titleFont;
  30. - (const char *)title;
  31. - setTitle:(const char *)aString;
  32. - setTitleNoCopy:(const char *)aString;
  33. - setKnobThickness:(NXCoord)aFloat;
  34. - (NXCoord)knobThickness;
  35. - setImage:backgroundImage;
  36. - image;
  37. - (int)isVertical;
  38. - setEnabled:(BOOL)flag;
  39. - mouseDown:(NXEvent *)theEvent;
  40. - (BOOL)acceptsFirstMouse;
  41.  
  42. /* 
  43.  * The following new... methods are now obsolete.  They remain in this  
  44.  * interface file for backward compatibility only.  Use Object's alloc method  
  45.  * and the init... methods defined in this class instead.
  46.  */
  47. + newFrame:(const NXRect *)frameRect;
  48.  
  49. @end
  50.