summaryrefslogtreecommitdiff
path: root/noncore/net/wellenreiter/gui/graphwindow.h
Side-by-side diff
Diffstat (limited to 'noncore/net/wellenreiter/gui/graphwindow.h') (more/less context) (ignore 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
_dirty[channel] = true;
}
};
protected:
virtual void paintEvent( QPaintEvent* );
+ virtual void mousePressEvent( QMouseEvent* );
void drawLine( QPainter* p, int x, int y, int width, const QColor& c );
+ void drawTopLine( QPainter* p, int x, int y, int width, const QColor& c );
+ void drawBottomLine( QPainter* p, int x, int y, int width, const QColor& c );
void MFrequencySpectrum::drawBar( QPainter* p, int x, int y, int width, int height, int maxheight );
private:
int _channels;
int* _values;
bool* _dirty;