Mercurial > hg > svgui
comparison layer/WaveformLayer.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 | 26ce2fb7bcbf |
children | def489f5ce92 |
comparison
equal
deleted
inserted
replaced
606:fbab21439115 | 607:5b72899d692b |
---|---|
44 | 44 |
45 virtual ColourSignificance getLayerColourSignificance() const { | 45 virtual ColourSignificance getLayerColourSignificance() const { |
46 return ColourAndBackgroundSignificant; | 46 return ColourAndBackgroundSignificant; |
47 } | 47 } |
48 | 48 |
49 virtual int getVerticalScaleWidth(View *v, QPainter &) const; | 49 virtual int getVerticalScaleWidth(View *v, bool detailed, QPainter &) const; |
50 virtual void paintVerticalScale(View *v, QPainter &paint, QRect rect) const; | 50 virtual void paintVerticalScale(View *v, bool detailed, QPainter &paint, QRect rect) const; |
51 | 51 |
52 void setModel(const RangeSummarisableTimeValueModel *model); | 52 void setModel(const RangeSummarisableTimeValueModel *model); |
53 | 53 |
54 virtual PropertyList getProperties() const; | 54 virtual PropertyList getProperties() const; |
55 virtual QString getPropertyLabel(const PropertyName &) const; | 55 virtual QString getPropertyLabel(const PropertyName &) const; |