diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-11-04 13:36:43 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2009-11-04 13:36:43 +0000 |
| commit | 2702b572ba44364ec1bfc59d635790f00e709591 (patch) | |
| tree | 37d355810bef05c64806fe111380cf4151182782 /src/ui/eqgraph.h | |
| parent | 97c98d9d52c60bce1e70eb55dd807a21cbe32f04 (diff) | |
| download | qmmp-2702b572ba44364ec1bfc59d635790f00e709591.tar.gz qmmp-2702b572ba44364ec1bfc59d635790f00e709591.tar.bz2 qmmp-2702b572ba44364ec1bfc59d635790f00e709591.zip | |
fixed some ui bugs
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1354 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/ui/eqgraph.h')
| -rw-r--r-- | src/ui/eqgraph.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/src/ui/eqgraph.h b/src/ui/eqgraph.h index 4f6bf1882..96e5db521 100644 --- a/src/ui/eqgraph.h +++ b/src/ui/eqgraph.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006 by Ilya Kotov * + * Copyright (C) 2006-2009 by Ilya Kotov * * forkotov02@hotmail.ru * * * * This program is free software; you can redistribute it and/or modify * @@ -22,34 +22,31 @@ #include "pixmapwidget.h" +class Skin; /** @author Ilya Kotov <forkotov02@hotmail.ru> */ - -class Skin; - class EQGraph : public PixmapWidget { Q_OBJECT public: - EQGraph ( QWidget *parent = 0 ); + EQGraph (QWidget *parent = 0); ~EQGraph(); - void addValue ( int ); + void addValue (int); void clear(); -/*protected: - void paintEvent ( QPaintEvent * );*/ private slots: void updateSkin(); private: QList <int> m_values; Skin *m_skin; - void init_spline ( double * x, double * y, int n, double * y2 ); - double eval_spline ( double xa[], double ya[], double y2a[], int n, double x ); + void init_spline (double * x, double * y, int n, double * y2); + double eval_spline (double xa[], double ya[], double y2a[], int n, double x); void draw(); + int m_ratio; }; |
