mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-16 21:30:31 +02:00
SetColorTool, PenTool und FloodFillTool
LoL
This commit is contained in:
@@ -7,8 +7,9 @@
|
||||
#include <QPoint>
|
||||
#include <QWidget>
|
||||
#include <QList>
|
||||
#include"Image/IntelliImage.h"
|
||||
#include"Tool/IntelliTool.h"
|
||||
#include "Image/IntelliImage.h"
|
||||
#include "Tool/IntelliTool.h"
|
||||
#include "Tool/IntelliToolSetColorTool.h"
|
||||
|
||||
|
||||
struct LayerObject{
|
||||
@@ -32,6 +33,8 @@ class PaintingArea : public QWidget
|
||||
public:
|
||||
PaintingArea(int maxWidth=600, int maxHeight=600, QWidget *parent = nullptr);
|
||||
|
||||
IntelliToolSetColorTool* getTool(); //TODO: rename function, when there are more Tools
|
||||
|
||||
// Handles all events
|
||||
bool open(const QString &fileName);
|
||||
bool save(const QString &fileName, const char *fileFormat);
|
||||
@@ -78,6 +81,7 @@ private:
|
||||
int maxHeight;
|
||||
|
||||
IntelliTool* Tool;
|
||||
IntelliToolSetColorTool* ColorTool;
|
||||
|
||||
std::vector<LayerObject> layerBundle;
|
||||
int activeLayer=-1;
|
||||
|
||||
Reference in New Issue
Block a user