diff options
author | Sergiusz Bazanski <q3k@q3k.org> | 2018-07-22 13:42:07 +0100 |
---|---|---|
committer | Sergiusz Bazanski <q3k@q3k.org> | 2018-07-24 02:38:10 +0100 |
commit | 2b1f7875bb8c3a761dfb9db21706f918b58be9c3 (patch) | |
tree | 0fb0e8c7162cd3291f32ad6588e803105902f1e3 /gui | |
parent | 139f7e0903b6c299b7c85bebfd7674933e952a50 (diff) | |
download | nextpnr-2b1f7875bb8c3a761dfb9db21706f918b58be9c3.tar.gz nextpnr-2b1f7875bb8c3a761dfb9db21706f918b58be9c3.tar.bz2 nextpnr-2b1f7875bb8c3a761dfb9db21706f918b58be9c3.zip |
ice40: Implement emitting PLLs
Diffstat (limited to 'gui')
-rw-r--r-- | gui/fpgaviewwidget.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gui/fpgaviewwidget.cc b/gui/fpgaviewwidget.cc index e21af678..cd042af5 100644 --- a/gui/fpgaviewwidget.cc +++ b/gui/fpgaviewwidget.cc @@ -400,6 +400,7 @@ void FPGAViewWidget::paintGL() // Calculate world thickness to achieve a screen 1px/1.1px line. float thick1Px = mouseToWorldCoordinates(1, 0).x(); float thick11Px = mouseToWorldCoordinates(1.1, 0).x(); + float thick2Px = mouseToWorldCoordinates(2, 0).x(); // Draw grid. auto grid = LineShaderData(); @@ -418,7 +419,7 @@ void FPGAViewWidget::paintGL() for (int i = 0; i < 8; i++) lineShader_.draw(rendererData_->highlighted[i], colors_.highlight[i], thick11Px, matrix); - lineShader_.draw(rendererData_->selected, colors_.selected, thick11Px, matrix); + lineShader_.draw(rendererData_->selected, colors_.selected, thick2Px, matrix); rendererDataLock_.unlock(); } |