From 3b9d24733e59de44de13abaf77f1806779715075 Mon Sep 17 00:00:00 2001 From: Robert Jonsson Date: Thu, 10 Mar 2011 22:06:49 +0000 Subject: cursor mode --- muse2/muse/arranger/pcanvas.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'muse2/muse/arranger/pcanvas.cpp') diff --git a/muse2/muse/arranger/pcanvas.cpp b/muse2/muse/arranger/pcanvas.cpp index 6bd35cb8..a68f3bb5 100644 --- a/muse2/muse/arranger/pcanvas.cpp +++ b/muse2/muse/arranger/pcanvas.cpp @@ -1788,7 +1788,7 @@ void PartCanvas::drawWavePart(QPainter& p, rms = (rms * (hh-2)) >> 9; p.setPen(QColor(Qt::darkGray)); p.drawLine(i, y - peak - cc, i, y + peak); - p.setPen(QColor(Qt::black)); + p.setPen(QColor(Qt::darkGray).darker()); p.drawLine(i, y - rms - cc, i, y + rms); } } @@ -1810,7 +1810,7 @@ void PartCanvas::drawWavePart(QPainter& p, int rms = (sa[k].rms * (hm - 1)) >> 8; p.setPen(QColor(Qt::darkGray)); p.drawLine(i, y - peak - cc, i, y + peak); - p.setPen(QColor(Qt::black)); + p.setPen(QColor(Qt::darkGray).darker()); p.drawLine(i, y - rms - cc, i, y + rms); y += 2 * hm; @@ -2966,7 +2966,7 @@ void PartCanvas::drawTopItem(QPainter& p, const QRect& rect) for (iTrack it = tl->begin(); it != tl->end(); ++it) { Track* track = *it; if (track->recordFlag()) { - int startPos = audio->getStartRecordPos().tick(); + unsigned int startPos = audio->getStartRecordPos().tick(); if (song->punchin()) startPos=song->lpos(); if (song->punchout() && song->cpos() > song->rpos()) { -- cgit v1.2.3