summaryrefslogtreecommitdiffstats
path: root/noatun/modules/monoscope/monoscope.h
blob: 7fddb26bdbde2b66d7c676abe62712b34e6dc11e (plain)
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
#ifndef MONOSCOPE_H
#define MONOSCOPE_H

#include <noatun/plugin.h>

class TDEToggleAction;

class Monoscope : public TQWidget,  public MonoScope, public Plugin
{
Q_OBJECT
  
NOATUNPLUGIND

public:
	Monoscope();
	virtual ~Monoscope();

	void init();

public slots:
	void toggle(void);

protected:
	virtual void closeEvent(TQCloseEvent *);
	virtual void scopeEvent(float *data, int bands);

	virtual void resizeEvent(TQResizeEvent *);

private:
	TQRgb mHighColor, mLowColor;
	TDEToggleAction *mAction;
};

#endif