comparison layer/NoteLayer.cpp @ 124:bd6e85b3d88b

* Avoid note layer erasing notes as cursor passes over them * Correct y coord of notes on note layer
author Chris Cannam
date Wed, 26 Jul 2006 16:48:07 +0000
parents 4a6e6aedf632
children 999ae0f7d10c
comparison
equal deleted inserted replaced
123:842bf484ee15 124:bd6e85b3d88b
632 paint.setPen(Qt::black);//!!! 632 paint.setPen(Qt::black);//!!!
633 paint.setBrush(Qt::black);//!!! 633 paint.setBrush(Qt::black);//!!!
634 } 634 }
635 } 635 }
636 636
637 paint.drawRect(x, y - h, w, h); 637 paint.drawRect(x, y - h/2, w, h);
638 638
639 /// if (p.label != "") { 639 /// if (p.label != "") {
640 /// paint.drawText(x + 5, y - paint.fontMetrics().height() + paint.fontMetrics().ascent(), p.label); 640 /// paint.drawText(x + 5, y - paint.fontMetrics().height() + paint.fontMetrics().ascent(), p.label);
641 /// } 641 /// }
642 } 642 }