Fixing commit for merging. This is a new feature to add a gui button for

chaging the global thickness.
This commit is contained in:
Martin-Eckleben
2020-09-28 21:55:25 +02:00
committed by borgmanJeremy
parent 0401bf08ea
commit 1bf75693dd
14 changed files with 396 additions and 45 deletions

View File

@@ -19,6 +19,8 @@
#include "redo/redotool.h"
#include "save/savetool.h"
#include "selection/selectiontool.h"
#include "sizedecrease/sizedecreasetool.h"
#include "sizeincrease/sizeincreasetool.h"
#include "sizeindicator/sizeindicatortool.h"
#include "src/utils/confighandler.h"
#include "text/texttool.h"
@@ -95,6 +97,12 @@ CaptureTool* ToolFactory::CreateTool(CaptureToolButton::ButtonType t,
case CaptureToolButton::TYPE_CIRCLECOUNT:
tool = new CircleCountTool(parent);
break;
case CaptureToolButton::TYPE_SIZEINCREASE:
tool = new SizeIncreaseTool(parent);
break;
case CaptureToolButton::TYPE_SIZEDECREASE:
tool = new SizeDecreaseTool(parent);
break;
default:
tool = nullptr;
break;