#import "GainInspector.h"

@implementation GainInspector
 
- doRevert:sender
{
	[gainSlider setDoubleValue:[object gain]];
	[gainText setDoubleValue:[object gain]];
	return self;
}

- doOk:sender
{
	[object setGain:[sender doubleValue]];
	[gainText setDoubleValue:[sender doubleValue]];
	return self;
}

- takeMaxGainFrom:sender
{
	[gainSlider setMaxValue:[sender doubleValue]];
	return self;
}

@end