Wechsel Rechner

This commit is contained in:
AshBastian
2020-01-25 19:37:14 +01:00
parent b989fb357a
commit 2432bb0568
4 changed files with 129 additions and 2 deletions

View File

@@ -17,6 +17,7 @@
#include "Tool/IntelliToolRectangle.h"
#include "Tool/IntelliToolFloodFill.h"
#include "Tool/IntelliToolPolygon.h"
#include "Tool/IntelliToolGradient.h"
#include "GUI/IntelliPhotoGui.h"
LayerObject::LayerObject(){
@@ -38,9 +39,8 @@ LayerObject::LayerObject(const LayerObject& layer){
PaintingArea::PaintingArea(int maxWidth, int maxHeight, QWidget*parent)
: QLabel(parent){
this->Tool = nullptr;
this->Tool = new IntelliToolGradient(this,&colorPicker,&Toolsettings);
this->setLayerDimensions(maxWidth, maxHeight);
activeLayer = -1;
}