Improvement includes greatly reducing the CPU usage by not using an NSImage based painting system. Signed-off-by: Christopher Snowhill <kode54@gmail.com>
17 lines
279 B
Objective-C
17 lines
279 B
Objective-C
//
|
|
// SpectrumItem.m
|
|
// Cog
|
|
//
|
|
// Created by Christopher Snowhill on 2/13/22.
|
|
//
|
|
|
|
#import "SpectrumItem.h"
|
|
|
|
@implementation SpectrumItem
|
|
|
|
- (void)awakeFromNib {
|
|
SpectrumView *view = [[SpectrumView alloc] initWithFrame:NSMakeRect(0, 0, 64, 26)];
|
|
[self setView:view];
|
|
}
|
|
|
|
@end
|