Provide a lowest permissible interval time to effects and limit the update rate of selected effects

This commit is contained in:
Lord-Grey
2024-11-30 22:08:41 +01:00
parent ee48f0c9b3
commit fb434dc492
16 changed files with 58 additions and 4 deletions

View File

@@ -103,4 +103,6 @@ private:
QImage _image;
QPainter *_painter;
QVector<QImage> _imageStack;
double _lowestUpdateIntervalInSeconds;
};

View File

@@ -51,4 +51,5 @@ public:
static PyObject* wrapImageCOffset (PyObject *self, PyObject *args);
static PyObject* wrapImageCShear (PyObject *self, PyObject *args);
static PyObject* wrapImageResetT (PyObject *self, PyObject *args);
static PyObject* wrapLowestUpdateInterval (PyObject* self, PyObject* args);
};