You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
509 B
36 lines
509 B
#ifndef MONOSCOPE_H
|
|
#define MONOSCOPE_H
|
|
|
|
#include <noatun/plugin.h>
|
|
|
|
class KToggleAction;
|
|
|
|
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;
|
|
KToggleAction *mAction;
|
|
};
|
|
|
|
#endif
|
|
|