comparison layer/TimeValueLayer.cpp @ 326:4f4f38a11cd2

* Factor out uses of "Sonic Visualiser" in "common" code to applicationName() * Add ability to show work title + artist in top-left of pane (thinking of Vect but may be useful in SV in future) * A few other generalisations useful for Vect
author Chris Cannam
date Fri, 09 Nov 2007 17:46:58 +0000
parents 984c1975f1ff
children 2f83b6e3b8ca 64e84e5efb76
comparison
equal deleted inserted replaced
324:1f67b110c1a3 326:4f4f38a11cd2
661 } 661 }
662 662
663 if (m_plotStyle != PlotLines && 663 if (m_plotStyle != PlotLines &&
664 m_plotStyle != PlotCurve && 664 m_plotStyle != PlotCurve &&
665 m_plotStyle != PlotSegmentation) { 665 m_plotStyle != PlotSegmentation) {
666 paint.drawRect(x, y - 1, w, 2); 666 if (m_plotStyle != PlotStems ||
667 w > 1) {
668 paint.drawRect(x, y - 1, w, 2);
669 }
667 } 670 }
668 671
669 if (m_plotStyle == PlotConnectedPoints || 672 if (m_plotStyle == PlotConnectedPoints ||
670 m_plotStyle == PlotLines || 673 m_plotStyle == PlotLines ||
671 m_plotStyle == PlotCurve) { 674 m_plotStyle == PlotCurve) {