aboutsummaryrefslogtreecommitdiffstats
path: root/gui/fpgaviewwidget.h
diff options
context:
space:
mode:
authorSergiusz Bazanski <q3k@q3k.org>2018-07-27 02:14:40 +0100
committerSergiusz Bazanski <q3k@q3k.org>2018-07-27 02:14:40 +0100
commit1fe1b99a5afea488a801f303cb1eda0d9343a1f0 (patch)
tree16ef38f6dec23b462f0c7d40fe497346fbeed74c /gui/fpgaviewwidget.h
parent83371248fca5ab217def81ee101ecdb0d299cee4 (diff)
downloadnextpnr-1fe1b99a5afea488a801f303cb1eda0d9343a1f0.tar.gz
nextpnr-1fe1b99a5afea488a801f303cb1eda0d9343a1f0.tar.bz2
nextpnr-1fe1b99a5afea488a801f303cb1eda0d9343a1f0.zip
gui: ctrl click to select multiple elements
Diffstat (limited to 'gui/fpgaviewwidget.h')
-rw-r--r--gui/fpgaviewwidget.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/fpgaviewwidget.h b/gui/fpgaviewwidget.h
index 732f4e3e..335ee51b 100644
--- a/gui/fpgaviewwidget.h
+++ b/gui/fpgaviewwidget.h
@@ -110,7 +110,7 @@ class FPGAViewWidget : public QOpenGLWidget, protected QOpenGLFunctions
public Q_SLOTS:
void newContext(Context *ctx);
- void onSelectedArchItem(std::vector<DecalXY> decals);
+ void onSelectedArchItem(std::vector<DecalXY> decals, bool keep);
void onHighlightGroupChanged(std::vector<DecalXY> decals, int group);
void pokeRenderer(void);
void zoomIn();
@@ -119,8 +119,8 @@ class FPGAViewWidget : public QOpenGLWidget, protected QOpenGLFunctions
void zoomOutbound();
Q_SIGNALS:
- void clickedBel(BelId bel);
- void clickedWire(WireId wire);
+ void clickedBel(BelId bel, bool add);
+ void clickedWire(WireId wire, bool add);
private:
const float zoomNear_ = 0.1f; // do not zoom closer than this