]>
git.mar77i.info Git - bigintmandel/blob - mandellabel.h
9 #include "bigintmandelwidget.h"
12 class MandelLabel
: public QLabel
{
13 const MandelSettings
*settings
;
14 const MenuBar
*menu_bar
;
16 QPoint zoom_rect_center
;
19 void paintEvent(QPaintEvent
*event
);
20 void leaveEvent(QEvent
*event
);
21 void mouseMoveEvent(QMouseEvent
*event
);
24 explicit MandelLabel(BigintMandelWidget
*parent
= nullptr);
25 inline int get_draw_progress() { return draw_progress
; }
26 inline void set_draw_progress(int draw_progress
) {
27 if (draw_progress
== this->draw_progress
)
29 if (draw_progress
== -1 || draw_progress
> this->draw_progress
)
30 this->draw_progress
= draw_progress
;
34 #endif // MANDELLABEL_H