From b4cf1ba041c1c684c3fb9de983c37fb491961eea Mon Sep 17 00:00:00 2001 From: Francisco Tolmasky Date: Mon, 16 Mar 2009 18:07:20 -0700 Subject: [PATCH] Added altIncrementValue/setAltIncrementValue:. Reviewed by me. --- AppKit/CPSlider.j | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/AppKit/CPSlider.j b/AppKit/CPSlider.j index 3bdc055431..efa3d92096 100644 --- a/AppKit/CPSlider.j +++ b/AppKit/CPSlider.j @@ -173,6 +173,16 @@ return [super createEphemeralSubviewNamed:aName]; } +- (void)setAltIncrementValue:(float)anAltIncrementValue +{ + _altIncrementValue = anAltIncrementValue; +} + +- (float)altIncrementValue +{ + return _altIncrementValue; +} + - (int)isVertical { var bounds = [self bounds],