2022-02-07 05:49:27 +00:00
|
|
|
/* TrackingSlider
|
|
|
|
|
|
|
|
This is an ubersimple subclass of NSSlider that
|
2008-05-01 23:35:39 +00:00
|
|
|
exposes a tracking method on the cell which can
|
|
|
|
be used to tell if the user is currently dragging the slider.
|
2022-02-07 05:49:27 +00:00
|
|
|
This is used in the action of the slider (the slider action is
|
|
|
|
sent continuously) so the position text label is updated,
|
2008-05-01 23:35:39 +00:00
|
|
|
without actually seeking the song until the mouse is released.
|
2022-02-07 05:49:27 +00:00
|
|
|
|
2008-05-01 23:35:39 +00:00
|
|
|
*/
|
2005-06-29 15:53:00 +00:00
|
|
|
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
|
2022-02-07 05:49:27 +00:00
|
|
|
@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
|