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

@@ -0,0 +1,18 @@
#ifndef Intelli_Tool_H
#define Intelli_Tool_H
#include"Layer/PaintingArea.h"
class IntelliTool{
private:
LayerObject* DataValue;
LayerObject* Preview;
public:
IntelliTool(LayerObject* DataValue, LayerObject* Preview);
virtual ~IntelliTool() = 0;
virtual void onMousePressed(QMouseEvent *event) = 0;
virtual void onMouseMoved(QMouseEvent* event)=0;
virtual void onMouseReleased(QMouseEvent* event)=0;
};
#endif