#include <IntelliToolPen.h>
Definition at line 8 of file IntelliToolPen.h.
◆ IntelliToolPen()
◆ ~IntelliToolPen()
| IntelliToolPen::~IntelliToolPen |
( |
| ) |
|
|
overridevirtual |
◆ onMouseLeftPressed()
| void IntelliToolPen::onMouseLeftPressed |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
overridevirtual |
A function managing the left click Pressed of a Mouse. Resetting the current draw. Call this in child classes!
- Parameters
-
| x | - The x coordinate relative to the Active/Canvas Layer. |
| y | - The y coordinate relative to the Active/Canvas Layer. |
Reimplemented from IntelliTool.
Definition at line 24 of file IntelliToolPen.cpp.
◆ onMouseLeftReleased()
| void IntelliToolPen::onMouseLeftReleased |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
overridevirtual |
A function managing the left click Released of a Mouse. Call this in child classes!
- Parameters
-
| x | - The x coordinate relative to the Active/Canvas Layer. |
| y | - The y coordinate relative to the Active/Canvas Layer. |
Reimplemented from IntelliTool.
Definition at line 31 of file IntelliToolPen.cpp.
◆ onMouseMoved()
| void IntelliToolPen::onMouseMoved |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
overridevirtual |
A function managing the mouse moved event. Call this in child classes!
- Parameters
-
| x | - The x coordinate of the new Mouse Position. |
| y | - The y coordinate of the new Mouse Position. |
Reimplemented from IntelliTool.
Definition at line 35 of file IntelliToolPen.cpp.
◆ onMouseRightPressed()
| void IntelliToolPen::onMouseRightPressed |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
overridevirtual |
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on. Call this in child classes!
- Parameters
-
| x | - The x coordinate relative to the Active/Canvas Layer. |
| y | - The y coordinate relative to the Active/Canvas Layer. |
Reimplemented from IntelliTool.
Definition at line 16 of file IntelliToolPen.cpp.
◆ onMouseRightReleased()
| void IntelliToolPen::onMouseRightReleased |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
|
overridevirtual |
A function managing the right click Released of a Mouse. Merging the Canvas to Active. Call this in child classes!
- Parameters
-
| x | - The x coordinate relative to the Active/Canvas Layer. |
| y | - The y coordinate relative to the Active/Canvas Layer. |
Reimplemented from IntelliTool.
Definition at line 20 of file IntelliToolPen.cpp.
◆ onWheelScrolled()
| void IntelliToolPen::onWheelScrolled |
( |
int |
value | ) |
|
|
overridevirtual |
A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child classes!
- Parameters
-
| value | - The absolute the scroll has changed. |
Reimplemented from IntelliTool.
Definition at line 44 of file IntelliToolPen.cpp.
The documentation for this class was generated from the following files: