Beautification, display "boundaries" below everything else.
* Change: In CellWidget::_redraw(), the boundaries, that is, instances abutment boxes where drawn *after* everything else, so they where hiding more interesting informations (especially at low zoom level) like routing wires. Now draw them *first* so they are *below*.
This commit is contained in:
parent
6210d312fe
commit
a5d92ecc29
|
@ -1368,6 +1368,20 @@ namespace Hurricane {
|
|||
_drawingQuery.setTransformation ( Transformation() );
|
||||
_drawingQuery.setThreshold ( screenToDbuLength(_pixelThreshold) );
|
||||
|
||||
if ( /*not timeout("redraw [boundaries]",timer,10.0,timedout) and*/ (not _redrawManager.interrupted()) ) {
|
||||
if (isDrawable("boundaries")) {
|
||||
_drawingPlanes.setPen ( Graphics::getPen ("boundaries",getDarkening()) );
|
||||
_drawingPlanes.setBrush( Graphics::getBrush("boundaries",getDarkening()) );
|
||||
|
||||
_drawingQuery.setBasicLayer( NULL );
|
||||
_drawingQuery.setFilter ( getQueryFilter().unset(Query::DoComponents
|
||||
|Query::DoRubbers
|
||||
|Query::DoMarkers
|
||||
|Query::DoExtensionGos) );
|
||||
_drawingQuery.doQuery ();
|
||||
}
|
||||
}
|
||||
|
||||
for ( BasicLayer* layer : _technology->getBasicLayers() ) {
|
||||
_drawingPlanes.setPen ( Graphics::getPen (layer->getName(),getDarkening()) );
|
||||
_drawingPlanes.setBrush( Graphics::getBrush(layer->getName(),getDarkening()) );
|
||||
|
@ -1388,20 +1402,6 @@ namespace Hurricane {
|
|||
//if ( timeout("redraw [layer]",timer,10.0,timedout) ) break;
|
||||
}
|
||||
|
||||
if ( /*not timeout("redraw [boundaries]",timer,10.0,timedout) and*/ (not _redrawManager.interrupted()) ) {
|
||||
if (isDrawable("boundaries")) {
|
||||
_drawingPlanes.setPen ( Graphics::getPen ("boundaries",getDarkening()) );
|
||||
_drawingPlanes.setBrush( Graphics::getBrush("boundaries",getDarkening()) );
|
||||
|
||||
_drawingQuery.setBasicLayer( NULL );
|
||||
_drawingQuery.setFilter ( getQueryFilter().unset(Query::DoComponents
|
||||
|Query::DoRubbers
|
||||
|Query::DoMarkers
|
||||
|Query::DoExtensionGos) );
|
||||
_drawingQuery.doQuery ();
|
||||
}
|
||||
}
|
||||
|
||||
_drawingQuery.setStopLevel( _state->getStartLevel() + 1 );
|
||||
if ( /*not timeout("redraw [markers]",timer,10.0,timedout) and*/ (not _redrawManager.interrupted()) ) {
|
||||
if ( isDrawable("text.reference") ) {
|
||||
|
|
Loading…
Reference in New Issue