Recht unschöne Modularität der Tools

This commit is contained in:
Sonaion
2019-12-10 12:20:15 +01:00
parent 62e144abd4
commit 0aa3b17b8a
10 changed files with 147 additions and 14 deletions

View File

@@ -4,7 +4,7 @@
#include"Image/IntelliImage.h"
class IntelliShapedImage : public IntelliImage{
friend IntelliTool;
protected:
virtual void calculateVisiblity() override;
std::vector<QPoint> polygonData;
@@ -16,6 +16,9 @@ public:
virtual QImage getDisplayable(const QSize& displaySize, int alpha=255) override;
virtual QImage getDisplayable(int alpha=255) override;
//gets a copy of the image !allocated
virtual IntelliImage* getDeepCopy() override;
//sets the data for the visible image
virtual void setPolygon(const std::vector<QPoint>& polygonData) override;
};