aboutsummaryrefslogtreecommitdiffstats
path: root/gui/fpgaviewwidget.h
diff options
context:
space:
mode:
authorMiodrag Milanovic <mmicko@gmail.com>2020-01-11 15:48:43 +0100
committerMiodrag Milanovic <mmicko@gmail.com>2020-01-11 15:48:43 +0100
commit0bf8fa23d91ae9bc46a45a4a2d8d12061e54c742 (patch)
treee3ba4ae0f3abae7d5c09debf76bfb872feb64d56 /gui/fpgaviewwidget.h
parent3f439c1ef2c1f4b7694d05be53117f0afe97cc17 (diff)
downloadnextpnr-0bf8fa23d91ae9bc46a45a4a2d8d12061e54c742.tar.gz
nextpnr-0bf8fa23d91ae9bc46a45a4a2d8d12061e54c742.tar.bz2
nextpnr-0bf8fa23d91ae9bc46a45a4a2d8d12061e54c742.zip
Skip same frames
Diffstat (limited to 'gui/fpgaviewwidget.h')
-rw-r--r--gui/fpgaviewwidget.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gui/fpgaviewwidget.h b/gui/fpgaviewwidget.h
index 7f99408e..9f670cb0 100644
--- a/gui/fpgaviewwidget.h
+++ b/gui/fpgaviewwidget.h
@@ -120,7 +120,7 @@ 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);
+ void movieStart(QString dir, long frameSkip, bool skipSame);
void movieStop();
Q_SIGNALS:
void clickedBel(BelId bel, bool add);
@@ -133,6 +133,8 @@ class FPGAViewWidget : public QOpenGLWidget, protected QOpenGLFunctions
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;