00001
00002
00003
00004
00005
00006
00007
00008
00009 #import <AppKit/AppKit.h>
00010
00011
00012
00013 @interface AUGUIKnobCell : NSActionCell {
00014 NSString *_backgroundName;
00015 NSString *_knobName;
00016 NSImage *_background;
00017 NSImage *_knob;
00018
00019 double _value,_minValue, _maxValue, _minAngle, _maxAngle, _xOffset, _yOffset;
00020 BOOL _integralValues;
00021
00022 double _lastTrackedValue;
00023 }
00024 - (void)setBackgroundName:(NSString *)name;
00025 - (void)setKnobName:(NSString *)name;
00026 - (void)setBackgroundImage:(NSImage *)image;
00027 - (void)setKnobImage:(NSImage *)image;
00028 - (NSString *)backgroundName;
00029 - (NSString *)knobName;
00030 - (NSImage *)background;
00031 - (NSImage *)knob;
00032
00033 - (double)doubleValue;
00034 - (double)minValue;
00035 - (double)maxValue;
00036 - (void)setDoubleValue:(double)val;
00037 - (void)setMinValue:(double)min;
00038 - (void)setMaxValue:(double)max;
00039
00040 - (double)minAngle;
00041 - (double)maxAngle;
00042 - (void)setMinAngle:(double)min;
00043 - (void)setMaxAngle:(double)max;
00044
00045 - (double)xOffset;
00046 - (double)yOffset;
00047 - (void)setXOffset:(double)offset;
00048 - (void)setYOffset:(double)offset;
00049
00050 - (BOOL)integralValues;
00051 - (void)setIntegralValues:(BOOL)integral;
00052 @end
00053
00054 @interface AUGUIKnob : NSControl {
00055 }
00056 + (void)initialize;
00057 - (void)setBackgroundName:(NSString *)name;
00058 - (void)setKnobName:(NSString *)name;
00059 - (void)setBackgroundImage:(NSImage *)image;
00060 - (void)setKnobImage:(NSImage *)image;
00061 - (NSString *)backgroundName;
00062 - (NSString *)knobName;
00063 - (NSImage *)background;
00064 - (NSImage *)knob;
00065
00066 - (double)doubleValue;
00067 - (float)floatValue;
00068 - (double)value;
00069 - (double)minValue;
00070 - (double)maxValue;
00071 - (void)setDoubleValue:(double)val;
00072 - (void)setFloatValue:(float)val;
00073 - (void)setValue:(double)val;
00074 - (void)setMinValue:(double)min;
00075 - (void)setMaxValue:(double)max;
00076
00077 - (double)minAngle;
00078 - (double)maxAngle;
00079 - (void)setMinAngle:(double)min;
00080 - (void)setMaxAngle:(double)max;
00081
00082 - (double)xOffset;
00083 - (double)yOffset;
00084 - (void)setXOffset:(double)offset;
00085 - (void)setYOffset:(double)offset;
00086
00087 - (BOOL)integralValues;
00088 - (void)setIntegralValues:(BOOL)integral;
00089 @end