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

@@ -55,7 +55,7 @@
#include "ViewProviderSketch.h"
#include "DrawSketchHandler.h"
#include "CommandConstraints.h"
#include "Utils.h"
#include <Gui/View3DInventor.h>
#include <Gui/View3DInventorViewer.h>