blob: 1d6280da3155565b3b17abd88fe06d14d02dde6a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
#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
|