summaryrefslogtreecommitdiff
path: root/muse2/muse/arranger/pcanvas.cpp
diff options
context:
space:
mode:
authorRobert Jonsson <spamatica@gmail.com>2011-03-10 22:06:49 +0000
committerRobert Jonsson <spamatica@gmail.com>2011-03-10 22:06:49 +0000
commit3b9d24733e59de44de13abaf77f1806779715075 (patch)
tree3b737106a5d0f1c216289782a35b7be7272b53f0 /muse2/muse/arranger/pcanvas.cpp
parentcada6a202543d0f3f5ac02b4b52b9f17fda038bf (diff)
cursor mode
Diffstat (limited to 'muse2/muse/arranger/pcanvas.cpp')
-rw-r--r--muse2/muse/arranger/pcanvas.cpp6
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()) {