mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-15 04:40:37 +02:00
Abstract
This commit is contained in:
18
src/Painting/Tool/IntelliTool.h
Normal file
18
src/Painting/Tool/IntelliTool.h
Normal 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
|
||||
Reference in New Issue
Block a user