//
//  AUWaveformView.h
//  
//
//  Created by Cynthia Bruyns on 5/30/05.
//  Copyright 2005 Apple Computer. All rights reserved.
//

#import <Cocoa/Cocoa.h>
#include "AUWaveformControllerView.h"


@interface AUWaveformView : NSView 
{
	
	IBOutlet NSColorWell				*myBackgroundWell; //owns so the view can coordinate with the color well
	IBOutlet NSColorWell				*myLineWell;
	
	IBOutlet NSButton					*myHoldButton;
	
	NSColor								*backgroundColor;
	NSColor								*lineColor;
	
	CGPoint*							waveformPoints;
	UInt32								waveformPointsCount;
}


#pragma mark INTERFACE ACTIONS
- (IBAction) changeBackgroundColor: (id) sender;
- (IBAction) changeLineColor: (id) sender;

#pragma mark EVENTS

- (void) plotNum: (UInt32) num dataPoints:(Float32*) data;

@end
