2008-05-01 23:35:39 +00:00
|
|
|
/* TrackingSlider
|
2008-05-03 15:15:45 +00:00
|
|
|
|
2008-05-01 23:35:39 +00:00
|
|
|
This is an ubersimple subclass of NSSlider that
|
|
|
|
exposes a tracking method on the cell which can
|
|
|
|
be used to tell if the user is currently dragging the slider.
|
|
|
|
This is used in the action of the slider (the slider action is
|
|
|
|
sent continuously) so the position text label is updated,
|
|
|
|
without actually seeking the song until the mouse is released.
|
2008-05-03 15:15:45 +00:00
|
|
|
|
2008-05-01 23:35:39 +00:00
|
|
|
*/
|
2005-06-29 15:53:00 +00:00
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
|
|
|
@interface TrackingSlider : NSSlider
|
|
|
|
{
|
2009-02-22 22:28:09 +00:00
|
|
|
NSMutableDictionary *bindingInfo;
|
2005-06-29 15:53:00 +00:00
|
|
|
}
|
2009-02-22 22:28:09 +00:00
|
|
|
|
|
|
|
- (BOOL)isTracking;
|
2005-06-29 15:53:00 +00:00
|
|
|
|
|
|
|
@end
|