Mercurial > hg > svgui
diff layer/Layer.cpp @ 270:61a704654497
...
author | Chris Cannam |
---|---|
date | Tue, 26 Jun 2007 14:57:29 +0000 |
parents | 7b58c5e91f20 |
children | 87e4c880b4c8 |
line wrap: on
line diff
--- a/layer/Layer.cpp Tue Jun 26 12:27:47 2007 +0000 +++ b/layer/Layer.cpp Tue Jun 26 14:57:29 2007 +0000 @@ -257,17 +257,18 @@ Layer::paintMeasurementRects(View *v, QPainter &paint) const { if (m_haveDraggingRect) { - paintMeasurementRect(v, paint, m_draggingRect); + paintMeasurementRect(v, paint, m_draggingRect, true); } for (MeasureRectSet::const_iterator i = m_measureRects.begin(); i != m_measureRects.end(); ++i) { - paintMeasurementRect(v, paint, *i); + paintMeasurementRect(v, paint, *i, true); } } void -Layer::paintMeasurementRect(View *v, QPainter &paint, const MeasureRect &r) const +Layer::paintMeasurementRect(View *v, QPainter &paint, + const MeasureRect &r, bool focus) const { if (r.haveFrames) { @@ -287,7 +288,7 @@ r.pixrect = pr; } - v->drawMeasurementRect(paint, this, r.pixrect); + v->drawMeasurementRect(paint, this, r.pixrect, focus); } QString