summaryrefslogtreecommitdiff
path: root/muse2/muse
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2010-12-17 00:35:09 +0000
committerTim E. Real <termtech@rogers.com>2010-12-17 00:35:09 +0000
commit72dd531044077595601cfaae63835e49f46ece15 (patch)
treed86d51ef65f543242d772a78a8593e1ca5cea9d7 /muse2/muse
parent0dc794435d033af54362143cab7e1739b368f9dc (diff)
Just removal of a rem'd section.
Diffstat (limited to 'muse2/muse')
-rw-r--r--muse2/muse/arranger/tlist.cpp40
1 files changed, 0 insertions, 40 deletions
diff --git a/muse2/muse/arranger/tlist.cpp b/muse2/muse/arranger/tlist.cpp
index 64e5ef63..f0ef8f94 100644
--- a/muse2/muse/arranger/tlist.cpp
+++ b/muse2/muse/arranger/tlist.cpp
@@ -1381,48 +1381,8 @@ void TList::setYPos(int y)
{
int delta = ypos - y; // - -> shift up
ypos = y;
-/*
- if (pm.isNull())
- return;
- if (!pmValid) {
- //printf("TList::setYPos y:%d delta:%d pmValid is false - redrawing...\n", y, delta);
- redraw();
- return;
- }
- int w = width();
- int h = height();
- QRect r;
- //printf("TList::setYPos y:%d delta:%d w:%d h:%d\n", y, delta, w, h);
- QPainter p;
- p.begin(&pm);
- p.begin(this);
-
- if (delta >= h || delta <= -h)
- {
- //printf("TList::setYPos delta >= h || delta <= -h\n");
- r = QRect(0, 0, w, h);
- }
- else if (delta < 0) { // shift up
- //printf("TList::setYPos delta < 0 : shift up\n");
- // Orcan - check
- //bitBlt(&pm, 0, 0, &pm, 0, -delta, w, h + delta, true); //CopyROP, true); ddskrjo
- p.drawImage(0, 0, pm.toImage(), 0, -delta, w, h + delta);
- r = QRect(0, h + delta, w, -delta);
- }
- else { // shift down
- //printf("TList::setYPos delta !< 0 : shift down\n");
- // Orcan - check
- //bitBlt(&pm, 0, delta, &pm, 0, 0, w, h-delta, true); //CopyROP, true); ddskrjo
- p.drawImage(0, delta, pm.toImage(), 0, 0, w, h-delta);
- r = QRect(0, 0, w, delta);
- }
- paint(r);
- update();
-
-*/
scroll(0, delta);
-
}
//---------------------------------------------------------