Add a dedicated spectrum visualization window, and add the necessary hooks to start its event timer if playback is already running when it is first opened. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
20 lines
319 B
Objective-C
20 lines
319 B
Objective-C
//
|
|
// SpectrumWindowController.h
|
|
// Cog
|
|
//
|
|
// Created by Christopher Snowhill on 5/22/22.
|
|
//
|
|
|
|
#import <Cocoa/Cocoa.h>
|
|
|
|
#import "PlaybackController.h"
|
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
@interface SpectrumWindowController : NSWindowController {
|
|
IBOutlet PlaybackController *playbackController;
|
|
}
|
|
|
|
@end
|
|
|
|
NS_ASSUME_NONNULL_END
|