mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-16 21:30:31 +02:00
Bug free tool strucute - try me bitch
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
#include "Image/IntelliRasterImage.h"
|
||||
#include "Image/IntelliShapedImage.h"
|
||||
#include "Tool/IntelliTool.h"
|
||||
#include "IntelliHelper/IntelliColorPicker.h"
|
||||
|
||||
|
||||
struct LayerObject{
|
||||
@@ -24,8 +25,6 @@ struct LayerObject{
|
||||
|
||||
};
|
||||
|
||||
class IntelliColorPicker;
|
||||
|
||||
class PaintingArea : public QWidget
|
||||
{
|
||||
// Declares our class as a QObject which is the base class
|
||||
@@ -52,6 +51,11 @@ public:
|
||||
// Has the image been modified since last save
|
||||
bool isModified() const { return modified; }
|
||||
|
||||
//change properties of colorPicker
|
||||
void colorPickerSetFirstColor();
|
||||
void colorPickerSetSecondColor();
|
||||
void colorPickerSwitchColor();
|
||||
|
||||
//create tools
|
||||
void createPenTool();
|
||||
void createPlainTool();
|
||||
@@ -86,6 +90,7 @@ private:
|
||||
int maxHeight;
|
||||
|
||||
IntelliTool* Tool;
|
||||
IntelliColorPicker colorPicker;
|
||||
|
||||
std::vector<LayerObject> layerBundle;
|
||||
int activeLayer=-1;
|
||||
|
||||
Reference in New Issue
Block a user