From 181e954cb9d6a693db5220859736aecb09fbd04a Mon Sep 17 00:00:00 2001 From: Sonaion Date: Wed, 18 Dec 2019 18:59:35 +0100 Subject: [PATCH] Start of tool commentary --- src/Tool/IntelliTool.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/src/Tool/IntelliTool.h b/src/Tool/IntelliTool.h index b66a6b0..380a90b 100644 --- a/src/Tool/IntelliTool.h +++ b/src/Tool/IntelliTool.h @@ -7,13 +7,34 @@ class LayerObject; class PaintingArea; +/*! + * \brief An abstract class that manages the basic events, like mouse clicks or scrolls events. + */ class IntelliTool{ private: + /*! + * \brief A function that creates a layer to draw on. + */ void createToolLayer(); + + /*! + * \brief A function that merges the drawing- and the active- layer. + */ void mergeToolLayer(); + + /*! + * \brief A function that deletes the drawinglayer. + */ void deleteToolLayer(); protected: + /*! + * \brief A pointer to the general PaintingArea to interact with. + */ PaintingArea* Area; + + /*! + * \brief A pointer to the IntelliColorPicker of the PaintingArea to interact with, and get the colors. + */ IntelliColorPicker* colorPicker; LayerObject* Active;