-
Notifications
You must be signed in to change notification settings - Fork 0
/
sprite.h.orig
40 lines (34 loc) · 878 Bytes
/
sprite.h.orig
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
32
33
34
35
36
37
38
39
40
#ifndef SPRITE_H
#define SPRITE_H
#include <QObject>
#include <QImage>
#include <QVector>
#include <QListWidgetItem>
class sprite : public QObject
{
Q_OBJECT
private:
QVector<QImage> sprites;
int activeFrame;
void updateActiveImage(QImage &store);
public:
sprite();
public slots:
void load(QString fullFilename);
<<<<<<< HEAD
void save(QString fullFilename);
void addFrame(QImage);
void updateActiveFrame(QImage, int);
=======
void save(QString fullFilename, QImage activeImage);
void exportToPNG(QString fullFilename);
void exportToGIF(QString fullFilename);
void addFrame();
void changeActiveFrame(QListWidgetItem*);
void updateActiveFrame(QImage);
>>>>>>> fa910da24279d52eabbc15fa299a981ab8ba7cf4
signals:
void updateFrame(QImage&);
void updateList(int numFrames, int selected);
};
#endif // SPRITE_H