This commit is contained in:
Sonaion
2019-12-06 09:20:15 +01:00
parent 2523dd2fc2
commit e5fd3a9748
4 changed files with 34 additions and 13 deletions

View File

@@ -9,6 +9,15 @@
#include <QWidget>
#include <QList>
struct LayerObject{
IntelliImage* image;
int width;
int height;
int widthOffset;
int heightOffset;
int alpha=255;
};
class PaintingArea : public QWidget
{
// Declares our class as a QObject which is the base class
@@ -68,14 +77,7 @@ protected:
void resizeEvent(QResizeEvent *event) override;
private:
struct LayerObject{
IntelliImage* image;
int width;
int height;
int widthOffset;
int heightOffset;
int alpha=255;
};
QImage* Canvas;
int maxWidth;