Implements a simple speed control using a resampler designed for real time changes. A rubberband speed control will be implemented at a later date. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
21 lines
425 B
Objective-C
21 lines
425 B
Objective-C
//
|
|
// SpeedSlider.h
|
|
// Cog
|
|
//
|
|
// Created by Christopher Snowhill on 9/20/24.
|
|
// Copyright 2024 __LoSnoCo__. All rights reserved.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
@interface SpeedSlider : NSSlider {
|
|
NSPopover *popover;
|
|
NSText *textView;
|
|
}
|
|
|
|
- (void)showToolTip;
|
|
- (void)showToolTipForDuration:(NSTimeInterval)duration;
|
|
- (void)showToolTipForView:(NSView *)view closeAfter:(NSTimeInterval)duration;
|
|
- (void)hideToolTip;
|
|
|
|
@end
|