blob: b36c4687d72193a5cce44d4fab0a98fa417dd0db (
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
|
#ifndef MADNESS_H
#define MADNESS_H
#include <noatun/plugin.h>
#include <string.h>
#include <qmap.h>
#include <qvaluelist.h>
#include <kwinmodule.h>
class Madness : public QObject, public MonoFFTScope, public Plugin
{
Q_OBJECT
public:
Madness();
virtual ~Madness();
void init();
private slots:
void update();
protected:
virtual void scopeEvent(float *data, int bands);
private:
KWinModule mWm;
QValueList<WId> mWindowList;
QRect mWorkArea;
QMap<WId, QPoint> mOriginalPositions;
};
#endif
|