aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Ui/skinned/shadedvisual.h
diff options
context:
space:
mode:
authortrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2017-01-17 06:32:42 +0000
committertrialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38>2017-01-17 06:32:42 +0000
commit740b179d7565ca0f846817d4abc6fee8fb8ca7cc (patch)
treea930dc1b66479bad3efa99900836b3db6e078523 /src/plugins/Ui/skinned/shadedvisual.h
parent240d991e41a3bb874d5289456215e67d23856361 (diff)
downloadqmmp-740b179d7565ca0f846817d4abc6fee8fb8ca7cc.tar.gz
qmmp-740b179d7565ca0f846817d4abc6fee8fb8ca7cc.tar.bz2
qmmp-740b179d7565ca0f846817d4abc6fee8fb8ca7cc.zip
removed old visual api usage
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6986 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Ui/skinned/shadedvisual.h')
-rw-r--r--src/plugins/Ui/skinned/shadedvisual.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/plugins/Ui/skinned/shadedvisual.h b/src/plugins/Ui/skinned/shadedvisual.h
index 0089139bc..2febec8ca 100644
--- a/src/plugins/Ui/skinned/shadedvisual.h
+++ b/src/plugins/Ui/skinned/shadedvisual.h
@@ -1,5 +1,5 @@
/***************************************************************************
- * Copyright (C) 2007-2015 by Ilya Kotov *
+ * Copyright (C) 2007-2017 by Ilya Kotov *
* forkotov02@hotmail.ru *
* *
* This program is free software; you can redistribute it and/or modify *
@@ -39,30 +39,30 @@ public:
~ShadedVisual();
- void add(float *data, size_t samples, int chan);
- void clear();
-
- void paintEvent (QPaintEvent *);
- void hideEvent (QHideEvent *);
- void showEvent (QShowEvent *);
-
public slots:
void timeout();
+ void start();
+ void stop();
private slots:
void updateSkin();
private:
- void process (float *l, float *r);
+ void clear();
+ void paintEvent (QPaintEvent *);
+ void hideEvent (QHideEvent *);
+ void showEvent (QShowEvent *);
+ void process ();
void draw (QPainter *);
+
Skin *m_skin;
QTimer *m_timer;
QPixmap m_pixmap;
float *m_left_buffer;
float *m_right_buffer;
- int m_buffer_at;
double m_l, m_r;
int m_ratio;
+ bool m_running;
};