diff options
author | Robert Jonsson <spamatica@gmail.com> | 2011-03-10 22:06:49 +0000 |
---|---|---|
committer | Robert Jonsson <spamatica@gmail.com> | 2011-03-10 22:06:49 +0000 |
commit | 3b9d24733e59de44de13abaf77f1806779715075 (patch) | |
tree | 3b737106a5d0f1c216289782a35b7be7272b53f0 /muse2/muse/arranger/pcanvas.cpp | |
parent | cada6a202543d0f3f5ac02b4b52b9f17fda038bf (diff) |
cursor mode
Diffstat (limited to 'muse2/muse/arranger/pcanvas.cpp')
-rw-r--r-- | muse2/muse/arranger/pcanvas.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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()) { |