full doc tools

This commit is contained in:
Sonaion
2019-12-19 13:58:46 +01:00
parent 709c976cf0
commit 71dd9aa7c2
4 changed files with 45 additions and 5 deletions

View File

@@ -12,6 +12,10 @@ IntelliToolPolygon::IntelliToolPolygon(PaintingArea* Area, IntelliColorPicker* c
isDrawing = false;
}
IntelliToolPolygon::~IntelliToolPolygon(){
}
void IntelliToolPolygon::onMouseLeftPressed(int x, int y){
if(!isDrawing && x > 0 && y > 0 && x<Area->getWidthOfActive() && y<Area->getHeightOfActive()){
IntelliTool::onMouseLeftPressed(x,y);