comparison layer/WaveformLayer.cpp @ 195:4a3bdde1ef13

* beginnings of spectrum scales
author Chris Cannam
date Mon, 29 Jan 2007 18:11:20 +0000
parents 5b7472db612b
children 17f8d9cf60d7
comparison
equal deleted inserted replaced
194:d13e209bfa94 195:4a3bdde1ef13
590 paint->drawLine(x0, my, x1, my); 590 paint->drawLine(x0, my, x1, my);
591 591
592 int n = 10; 592 int n = 10;
593 int py = -1; 593 int py = -1;
594 594
595 if (v->hasLightBackground()) { 595 if (v->hasLightBackground() &&
596 v->getViewManager() &&
597 v->getViewManager()->shouldShowScaleGuides()) {
596 598
597 paint->setPen(QColor(240, 240, 240)); 599 paint->setPen(QColor(240, 240, 240));
598 600
599 for (int i = 1; i < n; ++i) { 601 for (int i = 1; i < n; ++i) {
600 602