aboutsummaryrefslogtreecommitdiffstats
path: root/gui/fpgaviewwidget.h
diff options
context:
space:
mode:
authorMiodrag Milanović <mmicko@gmail.com>2020-01-11 16:29:26 +0100
committerGitHub <noreply@github.com>2020-01-11 16:29:26 +0100
commit56918e5596a8531c5a21bed8e9407fa0ea7aa507 (patch)
treee3ba4ae0f3abae7d5c09debf76bfb872feb64d56 /gui/fpgaviewwidget.h
parentabfe31d5d22a0ed1cc6ef32cf73fc1826b090b1c (diff)
parent0bf8fa23d91ae9bc46a45a4a2d8d12061e54c742 (diff)
downloadnextpnr-56918e5596a8531c5a21bed8e9407fa0ea7aa507.tar.gz
nextpnr-56918e5596a8531c5a21bed8e9407fa0ea7aa507.tar.bz2
nextpnr-56918e5596a8531c5a21bed8e9407fa0ea7aa507.zip
Merge pull request #377 from YosysHQ/mmicko/recording
Enable screenshot and recording feature
Diffstat (limited to 'gui/fpgaviewwidget.h')
-rw-r--r--gui/fpgaviewwidget.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/gui/fpgaviewwidget.h b/gui/fpgaviewwidget.h
index 735590ba..9f670cb0 100644
--- a/gui/fpgaviewwidget.h
+++ b/gui/fpgaviewwidget.h
@@ -120,13 +120,21 @@ class FPGAViewWidget : public QOpenGLWidget, protected QOpenGLFunctions
void zoomSelected();
void zoomOutbound();
void enableDisableDecals(bool bels, bool wires, bool pips, bool groups);
-
+ void movieStart(QString dir, long frameSkip, bool skipSame);
+ void movieStop();
Q_SIGNALS:
void clickedBel(BelId bel, bool add);
void clickedWire(WireId wire, bool add);
void clickedPip(PipId pip, bool add);
private:
+ QString movieDir;
+ long currentMovieFrame;
+ long currentFrameSkip;
+ long movieCounter;
+ bool movieSaving;
+ bool movieSkipSame;
+ QImage movieLastImage;
const float zoomNear_ = 0.05f; // do not zoom closer than this
float zoomFar_ = 10.0f; // do not zoom further than this
const float zoomLvl1_ = 1.0f;