Minor Code Style Update + Documentation Spelling Fix

This commit is contained in:
2019-12-19 12:03:21 +01:00
parent 9db5304edc
commit 2da9e15d36
9 changed files with 51 additions and 60 deletions

View File

@@ -19,10 +19,10 @@
PaintingArea::PaintingArea(int maxWidth, int maxHeight, QWidget *parent)
:QWidget(parent){
//test yout tool here and reset after accomplished test
// Testing Area
// test yout tool here and reset after accomplished test
this->Tool = new IntelliToolFloodFill(this, &colorPicker);
this->setUp(maxWidth, maxHeight);
//tetsing
this->addLayer(200,200,0,0,ImageType::Shaped_Image);
layerBundle[0].image->drawPlain(QColor(255,0,0,255));
std::vector<QPoint> polygon;

View File

@@ -13,7 +13,6 @@
#include "Tool/IntelliTool.h"
#include "IntelliHelper/IntelliColorPicker.h"
struct LayerObject{
IntelliImage* image;
int width;
@@ -58,7 +57,6 @@ public:
void createLineTool();
public slots:
// Events to handle
void slotActivateLayer(int a);
void slotDeleteActiveLayer();
@@ -95,7 +93,6 @@ private:
void resizeImage(QImage *image_res, const QSize &newSize);
//Helper for Tool
void createTempLayerAfter(int idx);
};