Open implemented again

This commit is contained in:
Sonaion
2019-12-12 13:17:22 +01:00
parent 84ea429b2a
commit de30640a1a
7 changed files with 25 additions and 26 deletions

View File

@@ -34,6 +34,7 @@ class PaintingArea : public QWidget
friend IntelliTool;
public:
PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent = nullptr);
~PaintingArea();
// Handles all events
bool open(const QString &fileName);
@@ -48,9 +49,6 @@ public:
void movePositionActive(int x, int y);
void moveActiveLayer(int idx);
// Has the image been modified since last save
bool isModified() const { return modified; }
//change properties of colorPicker
void colorPickerSetFirstColor();
void colorPickerSetSecondColor();
@@ -99,9 +97,6 @@ private:
void resizeImage(QImage *image_res, const QSize &newSize);
// Will be marked true or false depending on if
// we have saved after a change
bool modified=false;
//Helper for Tool
void createTempLayerAfter(int idx);