home *** CD-ROM | disk | FTP | other *** search
/ Openstep 4.2 (Developer) / Openstep Developer 4.2.iso / NextDeveloper / OpenStepConversion / IntermediateFrameworks1 / AppKit.framework / Headers / NSSliderCell.h < prev    next >
Encoding:
Text File  |  1994-09-29  |  2.0 KB  |  74 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. - init;
  24. - awake;
  25.  
  26. - (double)minValue;
  27. - setMinValue:(double)aDouble;
  28. - (double)maxValue;
  29. - setMaxValue:(double)aDouble;
  30. - setAltIncrementValue:(double)incValue;
  31. - (double)altIncrementValue;
  32. - (int)isVertical;
  33. - (NSString *)stringValue;
  34. - setStringValue:(NSString *)aString;
  35. - (int)intValue;
  36. - setIntValue:(int)anInt;
  37. - (float)floatValue;
  38. - setFloatValue:(float)aFloat;
  39. - (double)doubleValue;
  40. - setDoubleValue:(double)aDouble;
  41. - setContinuous:(BOOL)flag;
  42. - (BOOL)isContinuous;
  43. - (BOOL)isOpaque;
  44. - (NSSize)cellSizeForBounds:(NSRect)aRect;
  45. - setTitleGray:(float)grayVal;
  46. - (float)titleGray;
  47. - setTitleColor:(NXColor)newColor;
  48. - (NXColor)titleColor;
  49. - setTitleFont:fontObj;
  50. - titleFont;
  51. - (NSString *)title;
  52. - setTitle:(NSString *)aString;
  53. - setTitleCell:aCell;
  54. - titleCell;
  55. - setEnabled:(BOOL)flag;
  56. - setKnobThickness:(float)aFloat;
  57. - (float)knobThickness;
  58. - setImage:backgroundImage;
  59. - image;
  60. - (NSRect)knobRectFlipped:(BOOL)flipped;
  61. - drawKnob:(NSRect)knobRect;
  62. - drawKnob;
  63. - drawBarInside:(NSRect)aRect flipped:(BOOL)flipped;
  64. - drawSelf:(NSRect)cellFrame inView:controlView;
  65. - drawInside:(NSRect)cellFrame inView:controlView;
  66. - (BOOL)startTrackingAt:(NSPoint)startPoint inView:controlView;
  67. - (BOOL)continueTracking:(NSPoint)lastPoint at:(NSPoint)currentPoint inView:controlView;
  68. - stopTracking:(NSPoint)lastPoint at:(NSPoint)stopPoint inView:controlView mouseIsUp:(BOOL)flag;
  69. - (BOOL)trackMouse:(NXEvent *)theEvent inRect:(NSRect)cellFrame ofView:controlView untilMouseUp:(BOOL)untilMouseUp;
  70. - write:(NXTypedStream *)stream;
  71. - read:(NXTypedStream *)stream;
  72.  
  73. @end
  74.