|
IntelliPhoto
0.4
|
#include <IntelliToolPlain.h>


Public Member Functions | |
| IntelliToolPlainTool (PaintingArea *Area, IntelliColorPicker *colorPicker) | |
| virtual void | onMouseLeftPressed (int x, int y) override |
| A function managing the left click Pressed of a Mouse. Resetting the current draw. Call this in child classes! More... | |
| virtual void | onMouseLeftReleased (int x, int y) override |
| A function managing the left click Released of a Mouse. Call this in child classes! More... | |
| virtual void | onMouseRightPressed (int x, int y) override |
| A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on. Call this in child classes! More... | |
| virtual void | onMouseRightReleased (int x, int y) override |
| A function managing the right click Released of a Mouse. Merging the Canvas to Active. Call this in child classes! More... | |
| virtual void | onWheelScrolled (int value) override |
| A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child classes! More... | |
| virtual void | onMouseMoved (int x, int y) override |
| A function managing the mouse moved event. Call this in child classes! More... | |
Public Member Functions inherited from IntelliTool | |
| IntelliTool (PaintingArea *Area, IntelliColorPicker *colorPicker) | |
| A constructor setting the general Painting Area and colorPicker. More... | |
| virtual | ~IntelliTool ()=0 |
| An abstract Destructor. More... | |
Additional Inherited Members | |
Protected Attributes inherited from IntelliTool | |
| PaintingArea * | Area |
| A pointer to the general PaintingArea to interact with. More... | |
| IntelliColorPicker * | colorPicker |
| A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. More... | |
| LayerObject * | Active |
| A pointer to the underlying active Layer, do not work on this. This is used for data grabbing or previews. More... | |
| LayerObject * | Canvas |
| A pointer to the drawing canvas of the tool, work on this. More... | |
| bool | drawing = false |
| A flag checking if the user is currently drawing or not. More... | |
Definition at line 7 of file IntelliToolPlain.h.
| IntelliToolPlainTool::IntelliToolPlainTool | ( | PaintingArea * | Area, |
| IntelliColorPicker * | colorPicker | ||
| ) |
Definition at line 5 of file IntelliToolPlain.cpp.
|
overridevirtual |
A function managing the left click Pressed of a Mouse. Resetting the current draw. Call this in child classes!
| 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 9 of file IntelliToolPlain.cpp.

|
overridevirtual |
A function managing the left click Released of a Mouse. Call this in child classes!
| 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 15 of file IntelliToolPlain.cpp.

|
overridevirtual |
A function managing the mouse moved event. Call this in child classes!
| x | - The x coordinate of the new Mouse Position. |
| y | - The y coordinate of the new Mouse Position. |
Reimplemented from IntelliTool.
Definition at line 28 of file IntelliToolPlain.cpp.

|
overridevirtual |
A function managing the right click Pressed of a Mouse. Constructing the Canvas to draw on. Call this in child classes!
| 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 19 of file IntelliToolPlain.cpp.

|
overridevirtual |
A function managing the right click Released of a Mouse. Merging the Canvas to Active. Call this in child classes!
| 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 23 of file IntelliToolPlain.cpp.

|
overridevirtual |
A function managing the scroll event. A Positive Value means scrolling outwards. Call this in child classes!
| value | - The absolute the scroll has changed. |
Reimplemented from IntelliTool.
Definition at line 32 of file IntelliToolPlain.cpp.
