-
Notifications
You must be signed in to change notification settings - Fork 7
/
UKSoundWaveformView.h
45 lines (31 loc) · 1009 Bytes
/
UKSoundWaveformView.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//
// UKSoundWaveformView.h
// UKSoundWaveformView
//
// Created by Uli Kusterer on 20.09.09.
// Copyright 2009 The Void Software. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@class UKAudioBufferList;
@interface UKSoundWaveformView : NSView
{
struct UKSoundWaveformViewIVars* ivars;
}
-(void) setAudioData: (UKAudioBufferList*)theData;
-(UKAudioBufferList*) audioData;
-(NSSize) bestSize;
-(void) setAdjustsToWidth:(BOOL)adjustsToWidth;
-(BOOL) adjustsToWidth;
-(void) setBackgroundColor:(NSColor *)color;
-(NSColor *) backgroundColor;
-(void) setWaveformColor:(NSColor *)color;
-(NSColor *) waveformColor;
-(void) setBackgroundGradient:(NSGradient *)gradient;
-(NSGradient *) backgroundGradient;
-(void) setWaveformGradient:(NSGradient *)gradient;
-(NSGradient *) waveformGradient;
-(void) setCornerRadius:(CGFloat)cornerRadius;
-(CGFloat) cornerRadius;
-(void) setVerticalPadding:(CGFloat)padding;
-(CGFloat) verticalPadding;
@end