summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/graphwindow.h
Unidiff
Diffstat (limited to 'noncore/net/wellenreiter/gui/graphwindow.h') (more/less context) (show whitespace changes)
-rw-r--r--noncore/net/wellenreiter/gui/graphwindow.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/net/wellenreiter/gui/graphwindow.h b/noncore/net/wellenreiter/gui/graphwindow.h
index 4050065..1e00ae7 100644
--- a/noncore/net/wellenreiter/gui/graphwindow.h
+++ b/noncore/net/wellenreiter/gui/graphwindow.h
@@ -40,14 +40,17 @@ class MFrequencySpectrum : public QWidget
40 _dirty[channel] = true; 40 _dirty[channel] = true;
41 } 41 }
42 }; 42 };
43 43
44 protected: 44 protected:
45 virtual void paintEvent( QPaintEvent* ); 45 virtual void paintEvent( QPaintEvent* );
46 virtual void mousePressEvent( QMouseEvent* );
46 47
47 void drawLine( QPainter* p, int x, int y, int width, const QColor& c ); 48 void drawLine( QPainter* p, int x, int y, int width, const QColor& c );
49 void drawTopLine( QPainter* p, int x, int y, int width, const QColor& c );
50 void drawBottomLine( QPainter* p, int x, int y, int width, const QColor& c );
48 void MFrequencySpectrum::drawBar( QPainter* p, int x, int y, int width, int height, int maxheight ); 51 void MFrequencySpectrum::drawBar( QPainter* p, int x, int y, int width, int height, int maxheight );
49 52
50 private: 53 private:
51 int _channels; 54 int _channels;
52 int* _values; 55 int* _values;
53 bool* _dirty; 56 bool* _dirty;