Sketcher: move GUI common utility functions to a new file Utils.h

=================================================================

Common utility functions used by almost all Command classes were previous in Constraint.h.

Aside from providing a very bad intent, it created unnecessary header dependencies.

This commit separates these common functions into a new header, utils.h, which is then
used in all command classes where it is necessary.
This commit is contained in:
Abdullah Tahiri
2021-11-15 14:16:23 +01:00
parent 5f0d3e22fc
commit f29a6a0518
13 changed files with 372 additions and 268 deletions

View File

@@ -116,7 +116,7 @@
#include "DrawSketchHandler.h"
#include "TaskDlgEditSketch.h"
#include "TaskSketcherValidation.h"
#include "CommandConstraints.h"
#include "Utils.h"
#include "ViewProviderSketchGeometryExtension.h"
#include <Mod/Sketcher/App/SolverGeometryExtension.h>