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