comparison view/Overview.cpp @ 287:cd2492c5fe45

* Add SingleColourLayer to manage colours for layers that have a single predominant colour (i.e. most of them).
author Chris Cannam
date Thu, 12 Jul 2007 16:14:59 +0000
parents b9380f679f70
children ac954fc0ec6f
comparison
equal deleted inserted replaced
286:7554ae119882 287:cd2492c5fe45
162 if (e) { 162 if (e) {
163 r = e->rect(); 163 r = e->rect();
164 paint.setClipRect(r); 164 paint.setClipRect(r);
165 } 165 }
166 166
167 paint.setPen(Qt::black); 167 paint.setPen(getForeground());
168 168
169 int y = 0; 169 int y = 0;
170 170
171 int prevx0 = -10; 171 int prevx0 = -10;
172 int prevx1 = -10; 172 int prevx1 = -10;