Mercurial > hg > svgui
comparison layer/TimeValueLayer.h @ 607:5b72899d692b
Give a dedicated key to toggling the centre line, and move it out of the overlay level setting -- reducing number of overlay levels to 3. Introduce two distinct vertical scale types (so that we can hide the spectrogram colour scale part easily)
author | Chris Cannam |
---|---|
date | Mon, 30 Jan 2012 16:01:59 +0000 |
parents | 97e60a895211 |
children | 156a120345ae |
comparison
equal
deleted
inserted
replaced
606:fbab21439115 | 607:5b72899d692b |
---|---|
32 public: | 32 public: |
33 TimeValueLayer(); | 33 TimeValueLayer(); |
34 | 34 |
35 virtual void paint(View *v, QPainter &paint, QRect rect) const; | 35 virtual void paint(View *v, QPainter &paint, QRect rect) const; |
36 | 36 |
37 virtual int getVerticalScaleWidth(View *v, QPainter &) const; | 37 virtual int getVerticalScaleWidth(View *v, bool, QPainter &) const; |
38 virtual void paintVerticalScale(View *v, QPainter &paint, QRect rect) const; | 38 virtual void paintVerticalScale(View *v, bool, QPainter &paint, QRect rect) const; |
39 | 39 |
40 virtual QString getFeatureDescription(View *v, QPoint &) const; | 40 virtual QString getFeatureDescription(View *v, QPoint &) const; |
41 virtual QString getLabelPreceding(size_t) const; | 41 virtual QString getLabelPreceding(size_t) const; |
42 | 42 |
43 virtual bool snapToFeatureFrame(View *v, int &frame, | 43 virtual bool snapToFeatureFrame(View *v, int &frame, |