#include <IntelliToolRectangle.h>
Definition at line 9 of file IntelliToolRectangle.h.
◆ IntelliToolRectangle()
◆ ~IntelliToolRectangle()
| IntelliToolRectangle::~IntelliToolRectangle |
( |
| ) |
|
|
overridevirtual |
◆ onMouseLeftPressed()
| void IntelliToolRectangle::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 41 of file IntelliToolRectangle.cpp.
◆ onMouseLeftReleased()
| void IntelliToolRectangle::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 48 of file IntelliToolRectangle.cpp.
◆ onMouseMoved()
| void IntelliToolRectangle::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 52 of file IntelliToolRectangle.cpp.
◆ onMouseRightPressed()
| void IntelliToolRectangle::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 33 of file IntelliToolRectangle.cpp.
◆ onMouseRightReleased()
| void IntelliToolRectangle::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 37 of file IntelliToolRectangle.cpp.
◆ onWheelScrolled()
| void IntelliToolRectangle::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 61 of file IntelliToolRectangle.cpp.
The documentation for this class was generated from the following files: