From 2702b572ba44364ec1bfc59d635790f00e709591 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Wed, 4 Nov 2009 13:36:43 +0000 Subject: fixed some ui bugs git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1354 90c681e8-e032-0410-971d-27865f9a5e38 --- src/ui/eqgraph.h | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) (limited to 'src/ui/eqgraph.h') 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 */ - -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 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; }; -- cgit v1.2.3-13-gbd6f