Diffstat (limited to 'noncore/graphics/drawpad/filltool.h') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/graphics/drawpad/filltool.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/noncore/graphics/drawpad/filltool.h b/noncore/graphics/drawpad/filltool.h index eaf9a27..03ee489 100644 --- a/noncore/graphics/drawpad/filltool.h +++ b/noncore/graphics/drawpad/filltool.h | |||
@@ -27,13 +27,17 @@ public: | |||
27 | void mousePressEvent(QMouseEvent* e); | 27 | void mousePressEvent(QMouseEvent* e); |
28 | void mouseReleaseEvent(QMouseEvent* e); | 28 | void mouseReleaseEvent(QMouseEvent* e); |
29 | void mouseMoveEvent(QMouseEvent* e); | 29 | void mouseMoveEvent(QMouseEvent* e); |
30 | 30 | ||
31 | private: | 31 | private: |
32 | void fillLine(int x, int y); | 32 | void fillLine(int x, int y); |
33 | void fillMaskLine(int x, int y); | ||
34 | void setInterpolatedPixel(int x, int y); | ||
35 | int rgbDistance(QRgb rgb1, QRgb rgb2); | ||
33 | 36 | ||
34 | QImage m_image; | 37 | QImage m_image; |
38 | QImage m_mask; | ||
35 | QRgb m_fillRgb; | 39 | QRgb m_fillRgb; |
36 | QRgb m_oldRgb; | 40 | QRgb m_oldRgb; |
37 | }; | 41 | }; |
38 | 42 | ||
39 | #endif // FILLTOOL_H | 43 | #endif // FILLTOOL_H |