1/*
2Author:	Michael Pfeiffer
3Email:	michael.pfeiffer@utanet.at
4*/
5#ifndef SCOPE_H
6#define SCOPE_H
7
8#include <View.h>
9
10class Scope : public BView {
11	BBitmap *mBitmap;
12	BView *mOffscreenView;
13	int mWidth, mHeight;
14	int32 mSampleCount;
15	int16 *mLeft, *mRight;
16public:
17	Scope(BRect rect);
18
19	void Draw(BRect updateRect);
20	void DrawSample();
21
22	void Pulse();
23	void AttachedToWindow(void);
24	void DetachedFromWindow(void);
25};
26
27#endif
28