
If you don't want to see this commit on blames, use the hidden whitespace option on GitHub, or use `-w` in git-blame.
32 lines
618 B
C++
32 lines
618 B
C++
#ifndef AOEVIDENCEDISPLAY_H
|
|
#define AOEVIDENCEDISPLAY_H
|
|
|
|
#include "aoapplication.h"
|
|
#include "aosfxplayer.h"
|
|
|
|
#include <QDebug>
|
|
#include <QLabel>
|
|
#include <QMovie>
|
|
|
|
class AOEvidenceDisplay : public QLabel {
|
|
Q_OBJECT
|
|
|
|
public:
|
|
AOEvidenceDisplay(QWidget *p_parent, AOApplication *p_ao_app);
|
|
|
|
void show_evidence(QString p_evidence_image, bool is_left_side, int p_volume);
|
|
QLabel *get_evidence_icon();
|
|
void reset();
|
|
|
|
private:
|
|
AOApplication *ao_app;
|
|
QMovie *evidence_movie;
|
|
QLabel *evidence_icon;
|
|
AOSfxPlayer *sfx_player;
|
|
|
|
private slots:
|
|
void frame_change(int p_frame);
|
|
};
|
|
|
|
#endif // AOEVIDENCEDISPLAY_H
|