Start of tool commentary

This commit is contained in:
Sonaion
2019-12-18 18:59:35 +01:00
parent 0f829646b9
commit 181e954cb9

View File

@@ -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;