|
IntelliPhoto
0.4
|
The IntelliToolFloodFill class represents a tool to flood FIll a certian area. More...
#include <IntelliToolFloodFill.h>


Public Member Functions | |
| IntelliToolFloodFill (PaintingArea *Area, IntelliColorPicker *colorPicker) | |
| A constructor setting the general paintingArea and colorPicker. More... | |
| virtual | ~IntelliToolFloodFill () override |
| A Destructor. More... | |
| virtual void | onMouseRightPressed (int x, int y) override |
| A function managing the right click pressed of a mouse. Clearing the canvas. More... | |
| virtual void | onMouseRightReleased (int x, int y) override |
| A function managing the right click released of a mouse. More... | |
| virtual void | onMouseLeftPressed (int x, int y) override |
| A function managing the left click pressed of a mouse. Sets the point to flood fill around and does this. More... | |
| virtual void | onMouseLeftReleased (int x, int y) override |
| A function managing the left click released of a mouse. More... | |
| virtual void | onWheelScrolled (int value) override |
| A function managing the scroll event. More... | |
| virtual void | onMouseMoved (int x, int y) override |
| A function managing the mouse moved event. 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... | |
The IntelliToolFloodFill class represents a tool to flood FIll a certian area.
Definition at line 10 of file IntelliToolFloodFill.h.
| IntelliToolFloodFill::IntelliToolFloodFill | ( | PaintingArea * | Area, |
| IntelliColorPicker * | colorPicker | ||
| ) |
A constructor setting the general paintingArea and colorPicker.
| Area | - The general paintingArea used by the project. |
| colorPicker | - The general colorPicker used by the project. |
Definition at line 8 of file IntelliToolFloodFill.cpp.
|
overridevirtual |
A Destructor.
Definition at line 12 of file IntelliToolFloodFill.cpp.
|
overridevirtual |
A function managing the left click pressed of a mouse. Sets the point to flood fill around and does this.
| 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 25 of file IntelliToolFloodFill.cpp.

|
overridevirtual |
A function managing the left click released of a mouse.
| 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 66 of file IntelliToolFloodFill.cpp.

|
overridevirtual |
A function managing the mouse moved event.
| x | - The x coordinate of the new mouse position. |
| y | - The y coordinate of the new mouse position. |
Reimplemented from IntelliTool.
Definition at line 75 of file IntelliToolFloodFill.cpp.

|
overridevirtual |
A function managing the right click pressed of a mouse. Clearing the canvas.
| 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 17 of file IntelliToolFloodFill.cpp.

|
overridevirtual |
A function managing the right click released of a mouse.
| 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 21 of file IntelliToolFloodFill.cpp.

|
overridevirtual |
A function managing the scroll event.
| value | - The absolute the scroll has changed. |
Reimplemented from IntelliTool.
Definition at line 70 of file IntelliToolFloodFill.cpp.
