home *** CD-ROM | disk | FTP | other *** search
/ OpenStep 4.2J (Developer) / os42jdev.iso / NextDeveloper / OpenStepConversion / IntermediateFrameworks3 / AppKit.framework / Headers / NSSliderCell.h < prev    next >
Text File  |  1994-09-29  |  2KB  |  69 lines

  1. /*
  2.     SliderCell.h
  3.     Application Kit, Release 2.0
  4.     Copyright (c) 1988, 1989, 1990, NeXT, Inc.  All rights reserved. 
  5. */
  6.  
  7. #import "NSActionCell.h"
  8.  
  9. @interface NSSliderCell : NSActionCell
  10. {
  11.     void *              _scPrivate;
  12.     int                 _scPrivate1;
  13.     int                 _scPrivate2;
  14.     double              value;
  15.     double              maxValue;
  16.     double              minValue;
  17.     NSRect              trackRect;
  18. }
  19.  
  20.  
  21. + (BOOL)prefersTrackingUntilMouseUp;
  22.  
  23. - (double)minValue;
  24. - setMinValue:(double)aDouble;
  25. - (double)maxValue;
  26. - setMaxValue:(double)aDouble;
  27. - setAltIncrementValue:(double)incValue;
  28. - (double)altIncrementValue;
  29. - (int)isVertical;
  30. - (NSString *)stringValue;
  31. - setStringValue:(NSString *)aString;
  32. - (int)intValue;
  33. - setIntValue:(int)anInt;
  34. - (float)floatValue;
  35. - setFloatValue:(float)aFloat;
  36. - (double)doubleValue;
  37. - setDoubleValue:(double)aDouble;
  38. - setContinuous:(BOOL)flag;
  39. - (BOOL)isContinuous;
  40. - (BOOL)isOpaque;
  41. - (NSSize)cellSizeForBounds:(NSRect)aRect;
  42. - setTitleGray:(float)grayVal;
  43. - (float)titleGray;
  44. - setTitleColor:(NSColor *)newColor;
  45. - (NSColor *)titleColor;
  46. - setTitleFont:fontObj;
  47. - titleFont;
  48. - (NSString *)title;
  49. - setTitle:(NSString *)aString;
  50. - setTitleCell:aCell;
  51. - titleCell;
  52. - setEnabled:(BOOL)flag;
  53. - setKnobThickness:(float)aFloat;
  54. - (float)knobThickness;
  55. - setImage:backgroundImage;
  56. - image;
  57. - (NSRect)knobRectFlipped:(BOOL)flipped;
  58. - drawKnob:(NSRect)knobRect;
  59. - drawKnob;
  60. - drawBarInside:(NSRect)aRect flipped:(BOOL)flipped;
  61. - drawSelf:(NSRect)cellFrame inView:controlView;
  62. - drawInside:(NSRect)cellFrame inView:controlView;
  63. - (BOOL)startTrackingAt:(NSPoint)startPoint inView:controlView;
  64. - (BOOL)continueTracking:(NSPoint)lastPoint at:(NSPoint)currentPoint inView:controlView;
  65. - stopTracking:(NSPoint)lastPoint at:(NSPoint)stopPoint inView:controlView mouseIsUp:(BOOL)flag;
  66. - (BOOL)trackMouse:(NSEvent *)theEvent inRect:(NSRect)cellFrame ofView:controlView untilMouseUp:(BOOL)untilMouseUp;
  67.  
  68. @end
  69.