39 Eigen::Vector2d center;
42 unsigned char *buffer;
49 void resizeEvent(QResizeEvent *);
50 void paintEvent(QPaintEvent *);
51 void mousePressEvent(QMouseEvent *event);
52 void mouseMoveEvent(QMouseEvent *event);
56 size(0), buffer(0), draft(16)
58 setAutoFillBackground(
false);
59 threadcount = QThread::idealThreadCount();
61 for(
int th = 0; th < threadcount; th++) threads[th] =
new MandelbrotThread(
this, th);
65 if(buffer)
delete[]buffer;
66 for(
int th = 0; th < threadcount; th++)
delete threads[th];