comparison layer/TimeValueLayer.cpp @ 559:5bcfc5606528

* Add option to import time+duration (or time+endtime) from CSV files (importing to Region layers) * Fix ffwd/rwd in Region layers so as to behave like time-value layers
author Chris Cannam
date Thu, 08 Jul 2010 14:22:28 +0000
parents ffeafe09c8d9
children a4ba6c96b66d
comparison
equal deleted inserted replaced
558:9fc13f61ae74 559:5bcfc5606528
1070 std::cerr << "drawing rect" << std::endl; 1070 std::cerr << "drawing rect" << std::endl;
1071 #endif 1071 #endif
1072 1072
1073 if (nx <= x) continue; 1073 if (nx <= x) continue;
1074 1074
1075 paint.setPen(QPen(getForegroundQColor(v), 2));
1076
1075 if (illuminateFrame != p.frame) { 1077 if (illuminateFrame != p.frame) {
1076 if (!m_drawSegmentDivisions || 1078 if (!m_drawSegmentDivisions ||
1077 nx < x + 5 || 1079 nx < x + 5 ||
1078 x >= v->width() - 1) { 1080 x >= v->width() - 1) {
1079 paint.setPen(Qt::NoPen); 1081 paint.setPen(Qt::NoPen);