diff options
author | Julian T <julian@jtle.dk> | 2021-01-24 18:13:44 +0100 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2021-01-24 18:22:11 +0100 |
commit | 41ea2d8f94043d49fc26aaaa8030a73dcfdc2da9 (patch) | |
tree | fcc07052425c65b38c1724f4fc30299a1cb48716 /app/draw.hpp | |
parent | a38e6014ea5441e9d29fcb3b5607cd94e4061cff (diff) |
Create rust project
Diffstat (limited to 'app/draw.hpp')
-rw-r--r-- | app/draw.hpp | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/app/draw.hpp b/app/draw.hpp deleted file mode 100644 index 454558c..0000000 --- a/app/draw.hpp +++ /dev/null @@ -1,30 +0,0 @@ -#ifndef DRAW_H -#define DRAW_H - -#include "config.hpp" -#include <qimage.h> -#include <qtimer.h> -#include <qwidget.h> - -class DrawWidget : public QWidget { - Q_OBJECT - - public: - DrawWidget(const Config &conf); - void paintEvent(QPaintEvent*); - - QRgb *m_drawbuffer; - QImage m_img; - unsigned m_width, m_height; - - ~DrawWidget(); - private slots: - void redraw(); - - private: - unsigned char i; - - const Config &m_conf; -}; - -#endif |