mirror of
https://github.com/creyD/intelliphoto.git
synced 2026-04-15 12:50:33 +02:00
Start of tool commentary
This commit is contained in:
@@ -7,13 +7,34 @@
|
|||||||
class LayerObject;
|
class LayerObject;
|
||||||
class PaintingArea;
|
class PaintingArea;
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* \brief An abstract class that manages the basic events, like mouse clicks or scrolls events.
|
||||||
|
*/
|
||||||
class IntelliTool{
|
class IntelliTool{
|
||||||
private:
|
private:
|
||||||
|
/*!
|
||||||
|
* \brief A function that creates a layer to draw on.
|
||||||
|
*/
|
||||||
void createToolLayer();
|
void createToolLayer();
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* \brief A function that merges the drawing- and the active- layer.
|
||||||
|
*/
|
||||||
void mergeToolLayer();
|
void mergeToolLayer();
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* \brief A function that deletes the drawinglayer.
|
||||||
|
*/
|
||||||
void deleteToolLayer();
|
void deleteToolLayer();
|
||||||
protected:
|
protected:
|
||||||
|
/*!
|
||||||
|
* \brief A pointer to the general PaintingArea to interact with.
|
||||||
|
*/
|
||||||
PaintingArea* Area;
|
PaintingArea* Area;
|
||||||
|
|
||||||
|
/*!
|
||||||
|
* \brief A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors.
|
||||||
|
*/
|
||||||
IntelliColorPicker* colorPicker;
|
IntelliColorPicker* colorPicker;
|
||||||
|
|
||||||
LayerObject* Active;
|
LayerObject* Active;
|
||||||
|
|||||||
Reference in New Issue
Block a user