]> Shamusworld >> Repos - wozmaker/blob - src/diskdrawthread.h
Flesh out the disk settings dialog.
[wozmaker] / src / diskdrawthread.h
1 #ifndef __DISKDRAWTHREAD_H__
2 #define __DISKDRAWTHREAD_H__
3
4 //#include <QMutex>
5 //#include <QSize>
6 #include <QThread>
7 //#include <QWaitCondition>
8
9 class QImage;
10
11 class DiskDrawThread: public QThread
12 {
13         Q_OBJECT
14
15         public:
16                 DiskDrawThread(QObject * parent = 0);
17                 ~DiskDrawThread();
18
19                 void StartRender(QImage *);
20
21         signals:
22                 void ShowDisk(void);
23
24         protected:
25                 void run() override;
26
27         private:
28                 void DrawDisk(QImage *);
29
30                 QImage * img;
31 };
32
33 #endif  // __DISKDRAWTHREAD_H__
34