atrooney-online-2/aoevidencedisplay.h
Cerapter d314b8dd07 Moved includes out of the CPP files into the header files.
Reimplementation of `30a87d23c9c63bed072b3460e7482075dc530b2c` from the
old origin.
2018-08-19 09:37:34 +02:00

33 lines
618 B
C++

#ifndef AOEVIDENCEDISPLAY_H
#define AOEVIDENCEDISPLAY_H
#include "aoapplication.h"
#include "aosfxplayer.h"
#include <QLabel>
#include <QMovie>
#include <QDebug>
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