00001 // 00002 // $Id: SndStretchableScroller.h 3238 2005-05-09 13:10:26Z leighsmith $ 00003 // 00004 // Original Author: Leigh Smith and Skot McDonald. 00005 // 00006 // Copyright (c) 2004, The MusicKit Project. All rights reserved. 00007 // 00008 // Permission is granted to use and modify this code for commercial and 00009 // non-commercial purposes so long as the author attribution and copyright 00010 // messages remain intact and accompany all relevant code. 00011 // 00012 00013 #import <AppKit/AppKit.h> 00014 00020 @interface SndStretchableScroller: NSScroller { 00022 BOOL stretchingLeftKnob; 00024 BOOL stretchingRightKnob; 00025 } 00026 00030 - (void) drawKnob; 00031 00036 - (void) mouseDown: (NSEvent *) theEvent; 00037 00038 @end