
Due to a countless number of changes made to the core that were not fully understood, tested, or documented, it was decided to roll everything back to the last known stable version (2.6.2). Changes dropped include: - Witness needed - Shake - Frame SFX - Multiple custom objections - Multithreaded thumbnail generation - Looping - Various translation additions - "Mirror IC" - Color in IC log - An invocation of clang-format Next time, work together and split your big fork into independently testable feature branches.
35 lines
567 B
C++
35 lines
567 B
C++
#ifndef AOMOVIE_H
|
|
#define AOMOVIE_H
|
|
|
|
#include <QLabel>
|
|
#include <QMovie>
|
|
|
|
class Courtroom;
|
|
class AOApplication;
|
|
|
|
class AOMovie : public QLabel
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
AOMovie(QWidget *p_parent, AOApplication *p_ao_app);
|
|
|
|
void set_play_once(bool p_play_once);
|
|
void play(QString p_gif, QString p_char = "", QString p_custom_theme = "");
|
|
void combo_resize(int w, int h);
|
|
void stop();
|
|
|
|
private:
|
|
QMovie *m_movie;
|
|
AOApplication *ao_app;
|
|
bool play_once = true;
|
|
|
|
signals:
|
|
void done();
|
|
|
|
private slots:
|
|
void frame_change(int n_frame);
|
|
};
|
|
|
|
#endif // AOMOVIE_H
|