From 65d26692ae8736f67f3951f088b26086eeb6b829 Mon Sep 17 00:00:00 2001 From: Julian T Date: Thu, 13 Aug 2020 21:17:30 +0200 Subject: Added nicer ui which can save --- app/draw.hpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'app/draw.hpp') 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 -- cgit v1.2.3