diff options
author | Julian T <julian@jtle.dk> | 2020-08-13 21:17:30 +0200 |
---|---|---|
committer | Julian T <julian@jtle.dk> | 2020-08-13 21:17:30 +0200 |
commit | 65d26692ae8736f67f3951f088b26086eeb6b829 (patch) | |
tree | 7043254e116f2fab7690b5565d114a6afac3cd9b /app/draw.hpp | |
parent | 5b0b916c561f602723b9ae80f5462a7939b652a1 (diff) |
Added nicer ui which can save
Diffstat (limited to 'app/draw.hpp')
-rw-r--r-- | app/draw.hpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/app/draw.hpp b/app/draw.hpp index f8e93a4..cee5734 100644 --- a/app/draw.hpp +++ b/app/draw.hpp @@ -13,6 +13,7 @@ class DrawWidget : public QWidget { void paintEvent(QPaintEvent*); QRgb *m_drawbuffer; + QImage m_img; unsigned m_width, m_height; ~DrawWidget(); @@ -20,10 +21,7 @@ class DrawWidget : public QWidget { void redraw(); private: - QImage m_img; unsigned char i; - - QTimer m_timer; }; #endif |