IntelliPhoto  0.4
IntelliTool Class Referenceabstract

#include <IntelliTool.h>

Inheritance diagram for IntelliTool:
Collaboration diagram for IntelliTool:

Public Member Functions

 IntelliTool (PaintingArea *Area, IntelliColorPicker *colorPicker)
 
virtual ~IntelliTool ()=0
 
virtual void onMouseRightPressed (int x, int y)
 
virtual void onMouseRightReleased (int x, int y)
 
virtual void onMouseLeftPressed (int x, int y)
 
virtual void onMouseLeftReleased (int x, int y)
 
virtual void onMouseMoved (int x, int y)
 

Protected Attributes

PaintingAreaArea
 
IntelliColorPickercolorPicker
 
LayerObjectActive
 
LayerObjectCanvas
 
bool drawing = false
 

Detailed Description

Definition at line 10 of file IntelliTool.h.

Constructor & Destructor Documentation

◆ IntelliTool()

IntelliTool::IntelliTool ( PaintingArea Area,
IntelliColorPicker colorPicker 
)

Definition at line 4 of file IntelliTool.cpp.

◆ ~IntelliTool()

IntelliTool::~IntelliTool ( )
pure virtual

Definition at line 10 of file IntelliTool.cpp.

Member Function Documentation

◆ onMouseLeftPressed()

void IntelliTool::onMouseLeftPressed ( int  x,
int  y 
)
virtual

Reimplemented in IntelliToolLine, IntelliToolPen, and IntelliToolPlainTool.

Definition at line 25 of file IntelliTool.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ onMouseLeftReleased()

void IntelliTool::onMouseLeftReleased ( int  x,
int  y 
)
virtual

Reimplemented in IntelliToolLine, IntelliToolPen, and IntelliToolPlainTool.

Definition at line 32 of file IntelliTool.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ onMouseMoved()

void IntelliTool::onMouseMoved ( int  x,
int  y 
)
virtual

Reimplemented in IntelliToolLine, IntelliToolPen, and IntelliToolPlainTool.

Definition at line 41 of file IntelliTool.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ onMouseRightPressed()

void IntelliTool::onMouseRightPressed ( int  x,
int  y 
)
virtual

Reimplemented in IntelliToolLine, IntelliToolPen, and IntelliToolPlainTool.

Definition at line 14 of file IntelliTool.cpp.

Here is the caller graph for this function:

◆ onMouseRightReleased()

void IntelliTool::onMouseRightReleased ( int  x,
int  y 
)
virtual

Reimplemented in IntelliToolLine, IntelliToolPen, and IntelliToolPlainTool.

Definition at line 21 of file IntelliTool.cpp.

Here is the caller graph for this function:

Member Data Documentation

◆ Active

LayerObject* IntelliTool::Active
protected

Definition at line 19 of file IntelliTool.h.

◆ Area

PaintingArea* IntelliTool::Area
protected

Definition at line 16 of file IntelliTool.h.

◆ Canvas

LayerObject* IntelliTool::Canvas
protected

Definition at line 20 of file IntelliTool.h.

◆ colorPicker

IntelliColorPicker* IntelliTool::colorPicker
protected

Definition at line 17 of file IntelliTool.h.

◆ drawing

bool IntelliTool::drawing = false
protected

Definition at line 21 of file IntelliTool.h.


The documentation for this class was generated from the following files: