FloodFill

ist fertig
This commit is contained in:
Mienek
2019-12-18 19:41:11 +01:00
parent fa4a8ddad2
commit c9a88909ad
2 changed files with 52 additions and 25 deletions

View File

@@ -15,11 +15,12 @@
#include "Tool/IntelliToolLine.h"
#include "Tool/IntelliToolCircle.h"
#include "Tool/IntelliToolRectangle.h"
#include "Tool/IntelliToolFloodFill.h"
PaintingArea::PaintingArea(int maxWidth, int maxHeight, QWidget *parent)
:QWidget(parent){
//test yout tool here and reset after accomplished test
this->Tool = new IntelliToolRectangle(this, &colorPicker);
this->Tool = new IntelliToolFloodFill(this, &colorPicker);
this->setUp(maxWidth, maxHeight);
//tetsing
this->addLayer(200,200,0,0,ImageType::Shaped_Image);