#include <IntelliToolLine.h>
Definition at line 12 of file IntelliToolLine.h.
◆ IntelliToolLine()
◆ ~IntelliToolLine()
| IntelliToolLine::~IntelliToolLine |
( |
| ) |
|
|
overridevirtual |
◆ onMouseLeftPressed()
| void IntelliToolLine::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 26 of file IntelliToolLine.cpp.
◆ onMouseLeftReleased()
| void IntelliToolLine::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 33 of file IntelliToolLine.cpp.
◆ onMouseMoved()
| void IntelliToolLine::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 45 of file IntelliToolLine.cpp.
◆ onMouseRightPressed()
| void IntelliToolLine::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 18 of file IntelliToolLine.cpp.
◆ onMouseRightReleased()
| void IntelliToolLine::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 22 of file IntelliToolLine.cpp.
◆ onWheelScrolled()
| void IntelliToolLine::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 37 of file IntelliToolLine.cpp.
The documentation for this class was generated from the following files: