diff options
| author | Crystalwarrior <varsash@gmail.com> | 2019-09-15 02:17:20 +0300 |
|---|---|---|
| committer | Crystalwarrior <varsash@gmail.com> | 2019-09-15 02:17:20 +0300 |
| commit | 5419641c1ebe1e8749ad6e78b82c11cbd1bc13b7 (patch) | |
| tree | 3eebe00721c27cc18a7a6b5a8e21754cecd7e274 /include/aocharmovie.h | |
| parent | 14ced5ce156eec4974b424fc59e47da948aa080d (diff) | |
Revert "2.7.2 way of animating charmovie.cpp ported over"
This reverts commit 14ced5ce156eec4974b424fc59e47da948aa080d.
Diffstat (limited to 'include/aocharmovie.h')
| -rw-r--r-- | include/aocharmovie.h | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/include/aocharmovie.h b/include/aocharmovie.h index bc0e30a5..f54f5105 100644 --- a/include/aocharmovie.h +++ b/include/aocharmovie.h @@ -29,15 +29,12 @@ public: void combo_resize(int w, int h); - void set_frame(QImage image); - private: AOApplication *ao_app; QMovie *m_movie; QVector<QImage> movie_frames; QTimer *preanim_timer; - QTimer *ticker; const int time_mod = 60; @@ -49,13 +46,11 @@ private: bool play_once = true; - bool preprocess = false; - signals: void done(); private slots: - void movie_ticker(); + void frame_change(int n_frame); void timer_done(); }; |
