Compare commits

...
Author SHA1 Message Date
Hanif Koh 7fa7469355 Add the GUI Includes the First Pass Missed
Covers headers that only became editable once they compiled on their own, and wx symbols whose suggested header changed as the clang-tidy ignore list grew after the src/slic3r/GUI pass.
2026-10-02 18:08:04 +08:00
Hanif Koh 7e996ecf66 Keep Windows and nanosvg Setup Ahead of the Added Includes
OrcaSlicer.cpp and several tests set _WIN32_WINNT, WIN32_LEAN_AND_MEAN or NOMINMAX before including Windows.h, and the profile validator defines NANOSVG_IMPLEMENTATION before any libslic3r header. The added includes had landed above those blocks, which broke the Windows build.
2026-10-02 16:52:28 +08:00
Hanif Koh 28dc67e382 Make the GUI and Test Headers Compile on Their Own
Each now includes, or forward-declares, what it uses instead of relying on what its includers happened to include first. Headers that only compile on one platform, or that nothing built includes, are left alone.
2026-10-02 16:34:35 +08:00
Hanif Koh 59deff0694 Add Missing Includes Across the Remaining Sources and Tests
Covers src/slic3r/Utils, src/slic3r/plugin, src/slic3r/Config, src/libvgcode, src/dev-utils, src/OrcaSlicer.cpp and tests/, the directories left after src/slic3r/GUI and src/libslic3r. Generated with clang-tidy misc-include-cleaner. libvgcode's own headers are included by relative path as in the rest of that library, and Catch2 and pybind11 with angle brackets as elsewhere in the repo.
2026-10-02 15:41:30 +08:00
Hanif Koh 31aba32335 Ignore minilzo's Config Headers in clang-tidy
lzoconf.h and lzodefs.h are internal to minilzo.h, which is what the code includes.
2026-10-02 15:41:30 +08:00
Hanif Koh 68099b6c1f Ignore Clipper, libpng, mcut and Boost.Polygon Internals in clang-tidy
Each only works through a wrapper or umbrella header: libslic3r/clipper.hpp or clipper_z.hpp configure Clipper before including it, png.h pulls in libpng's config headers, and Boost.Polygon's headers only compile through polygon.hpp or voronoi.hpp.
2026-10-02 15:13:25 +08:00
384 changed files with 2298 additions and 1 deletions
+10 -1
View File
@@ -10,6 +10,10 @@ CheckOptions:
# GTK or pthread one), library internals and forward declarations, CPython's
# headers behind Python.h, curl's behind curl.h, oneTBB's behind tbb/, and
# admesh's stl.h, which the include path also exposes without its directory.
# Clipper's own clipper.hpp is only included through libslic3r/clipper.hpp or
# clipper_z.hpp, which configure it first, and Boost.Polygon's headers only
# work through boost/polygon/polygon.hpp or voronoi.hpp. minilzo's config
# headers are internal to minilzo.h.
# FFmpeg's C headers are left alone because they are only included inside
# extern "C", which an inserted include would miss. OS-specific headers (GLib,
# GTK, D-Bus, POSIX, the Windows SDK) are only used inside platform #if blocks,
@@ -44,4 +48,9 @@ CheckOptions:
fcntl\.h;
termios\.h;
[/\\](um|shared)[/\\].*;
sal\.h
sal\.h;
clipper[/\\]clipper\.hpp;
png(lib)?conf\.h;
mcut[/\\]platform\.h;
boost[/\\]polygon[/\\].*;
lzo(conf|defs)\.h
+43
View File
@@ -20,6 +20,49 @@
#endif /* SLIC3R_GUI */
#endif /* WIN32 */
#include <map>
#include <vector>
#include "libslic3r/PrintBase.hpp"
#include "slic3r/Utils/json_diff.hpp"
#include <boost/date_time/posix_time/posix_time_duration.hpp>
#include <cerrno>
#include <utility>
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/fstream.hpp>
#include "libslic3r/LocalesUtils.hpp"
#include <fstream>
#include <exception>
#include <set>
#include "libslic3r/Color.hpp"
#include "libslic3r/TriangleSelector.hpp"
#include <algorithm>
#include "libslic3r/Format/bbs_3mf.hpp"
#include <cstdlib>
#include <stdlib.h>
#include <stdexcept>
#include "libslic3r/Point.hpp"
#include "libslic3r_version.h"
#include "libslic3r/Semver.hpp"
#include "libslic3r/PrintConfig.hpp"
#include "libslic3r/BoundingBox.hpp"
#include "libslic3r/CustomGCode.hpp"
#include <memory>
#include <sstream>
#include <iomanip>
#include <iterator>
#include "libslic3r/ClipperUtils.hpp"
#include "libslic3r/GCode/WipeTowerEstimate.hpp"
#include "slic3r/GUI/Gizmos/GLGizmoBase.hpp"
#include <functional>
#include "libslic3r/Arrange.hpp"
#include "libslic3r/Polygon.hpp"
#include "libslic3r/GCode/ThumbnailData.hpp"
#include "slic3r/GUI/3DScene.hpp"
#include "slic3r/GUI/GLShader.hpp"
#include <cassert>
#include <boost/filesystem/exception.hpp>
#include <signal.h>
#include <cstdio>
#include <string>
#include <cstring>
+7
View File
@@ -1,7 +1,14 @@
#ifndef SLIC3R_HPP
#define SLIC3R_HPP
#include <map>
#include "libslic3r/BoundingBox.hpp"
#include "libslic3r/PrintConfig.hpp"
#include "libslic3r/Format/bbs_3mf.hpp"
#include "libslic3r/GCode/ThumbnailData.hpp"
#include <set>
#include <string>
#include <vector>
#include "libslic3r/Config.hpp"
#include "libslic3r/Model.hpp"
@@ -8,6 +8,28 @@
#define NANOSVGRAST_IMPLEMENTATION
#include "nanosvg/nanosvgrast.h"
#include <vector>
#include <boost/filesystem/path.hpp>
#include <map>
#include "libslic3r/Point.hpp"
#include "libslic3r/libslic3r.h"
#include "libslic3r/Polygon.hpp"
#include "libslic3r/PrintConfig.hpp"
#include <utility>
#include "libslic3r/CustomGCode.hpp"
#include <iterator>
#include <boost/smart_ptr/make_shared_object.hpp>
#include <boost/smart_ptr/shared_ptr.hpp>
#include <boost/log/core/record_view.hpp>
#include <boost/log/expressions/message.hpp>
#include <cstddef>
#include <exception>
#include "libslic3r/PlaceholderParser.hpp"
#include <boost/program_options/options_description.hpp>
#include <boost/program_options/value_semantic.hpp>
#include <boost/program_options/variables_map.hpp>
#include <boost/program_options/errors.hpp>
#include "libslic3r/BoundingBox.hpp"
#include "libslic3r/GCode.hpp"
#include "libslic3r/GCode/WipeTower.hpp"
+1
View File
@@ -1,3 +1,4 @@
#include <iosfwd>
#include <vector>
#include <iostream>
#include <fstream>
+10
View File
@@ -4,9 +4,19 @@
#include <boost/algorithm/string/predicate.hpp>
#include <boost/filesystem.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/filesystem/directory.hpp>
#include <boost/log/trivial.hpp>
#include <boost/program_options.hpp>
#include <boost/program_options/options_description.hpp>
#include <boost/program_options/value_semantic.hpp>
#include <boost/program_options/variables_map.hpp>
#include <boost/program_options/errors.hpp>
#include <exception>
#include <cstddef>
#include <iostream>
#include <memory>
#include "libslic3r/Config.hpp"
using namespace Slic3r;
namespace fs = boost::filesystem;
+6
View File
@@ -11,13 +11,19 @@
#include "libslic3r/Utils.hpp"
#include <boost/filesystem.hpp>
#include <boost/filesystem/path.hpp>
#include <boost/filesystem/operations.hpp>
#include <boost/nowide/fstream.hpp>
#include "nlohmann/json.hpp"
#include <algorithm>
#include <cstddef>
#include <exception>
#include <iostream>
#include "libslic3r/Config.hpp"
#include <map>
#include <set>
#include <stdexcept>
#include <string>
#include <vector>
+2
View File
@@ -6,6 +6,8 @@
#define VGCODE_COLORPRINT_HPP
#include "../include/Types.hpp"
#include <cstdint>
#include <array>
namespace libvgcode {
+3
View File
@@ -7,7 +7,10 @@
#include "../include/Types.hpp"
#include <array>
#include <cfloat>
#include <vector>
#include <cstddef>
namespace libvgcode {
+2
View File
@@ -6,6 +6,8 @@
#define VGCODE_GCODEINPUTDATA_HPP
#include "PathVertex.hpp"
#include <vector>
#include "Types.hpp"
namespace libvgcode {
+2
View File
@@ -7,7 +7,9 @@
#include "Types.hpp"
#include <array>
#include <cfloat>
#include <cstdint>
namespace libvgcode {
+1
View File
@@ -5,6 +5,7 @@
#ifndef VGCODE_TYPES_HPP
#define VGCODE_TYPES_HPP
#include <cstddef>
#define VGCODE_ENABLE_COG_AND_TOOL_MARKERS 0
#include <array>
+3
View File
@@ -7,7 +7,10 @@
#include "Types.hpp"
#include <cstddef>
#include <cstdint>
#include <string>
#include <vector>
namespace libvgcode {
+3
View File
@@ -6,6 +6,9 @@
#define VGCODE_BITSET_HPP
#include <atomic>
#include <cstddef>
#include <type_traits>
#include <utility>
#include <vector>
namespace libvgcode {
+5
View File
@@ -7,8 +7,13 @@
#include "Utils.hpp"
#include <algorithm>
#include <array>
#include <assert.h>
#include <cfloat>
#include <cmath>
#include "../include/Types.hpp"
#include <cstddef>
#include <vector>
namespace libvgcode {
+5
View File
@@ -3,6 +3,11 @@
///|/ libvgcode is released under the terms of the AGPLv3 or higher
///|/
#include "ExtrusionRoles.hpp"
#include "../include/Types.hpp"
#include <array>
#include <utility>
#include <cstddef>
#include <vector>
namespace libvgcode {
+3
View File
@@ -7,7 +7,10 @@
#include "../include/Types.hpp"
#include <array>
#include <cstddef>
#include <map>
#include <vector>
namespace libvgcode {
+5
View File
@@ -9,6 +9,11 @@
#include <assert.h>
#include <algorithm>
#include "../include/Types.hpp"
#include <cstdint>
#include <cstddef>
#include <vector>
#include <iterator>
namespace libvgcode {
+5
View File
@@ -6,6 +6,11 @@
#define VGCODE_LAYERS_HPP
#include "Range.hpp"
#include <cstdint>
#include <cstddef>
#include "../include/Types.hpp"
#include <array>
#include <vector>
namespace libvgcode {
+1
View File
@@ -10,6 +10,7 @@
#include <cctype>
#include <stdio.h>
#include <cstring>
#include <string>
namespace libvgcode {
+3
View File
@@ -6,6 +6,9 @@
#include "OpenGLUtils.hpp"
#include "Utils.hpp"
#include <cstdint>
#include "../include/Types.hpp"
#include <cstddef>
#include <vector>
#include <algorithm>
#include <cmath>
+1
View File
@@ -3,6 +3,7 @@
///|/ libvgcode is released under the terms of the AGPLv3 or higher
///|/
#include "../include/PathVertex.hpp"
#include "../include/Types.hpp"
namespace libvgcode {
+1
View File
@@ -5,6 +5,7 @@
#include "Range.hpp"
#include <algorithm>
#include "../include/Types.hpp"
namespace libvgcode {
+1
View File
@@ -5,6 +5,7 @@
#include "SegmentTemplate.hpp"
#include "OpenGLUtils.hpp"
#include <cstddef>
#include <cstdint>
#include <array>
+2
View File
@@ -7,6 +7,8 @@
#include "../include/Types.hpp"
#include <array>
#include <cstddef>
#include <map>
namespace libvgcode {
+1
View File
@@ -7,6 +7,7 @@
#include "Utils.hpp"
#include <cmath>
#include "../include/Types.hpp"
#if VGCODE_ENABLE_COG_AND_TOOL_MARKERS
+1
View File
@@ -5,6 +5,7 @@
#include "../include/Types.hpp"
#include <algorithm>
#include <cstdint>
namespace libvgcode {
+3
View File
@@ -6,6 +6,9 @@
#include <assert.h>
#include <cmath>
#include "../include/Types.hpp"
#include <vector>
#include <cstdint>
namespace libvgcode {
+2
View File
@@ -6,6 +6,8 @@
#define VGCODE_UTILS_HPP
#include "../include/Types.hpp"
#include <vector>
#include <cstdint>
#ifdef _WIN32
#define STDVEC_MEMSIZE(NAME, TYPE) NAME.capacity() * ((sizeof(TYPE) + __alignof(TYPE) - 1) / __alignof(TYPE)) * __alignof(TYPE)
+1
View File
@@ -3,6 +3,7 @@
///|/ libvgcode is released under the terms of the AGPLv3 or higher
///|/
#include "ViewRange.hpp"
#include "../include/Types.hpp"
namespace libvgcode {
+1
View File
@@ -6,6 +6,7 @@
#define VGCODE_VIEWRANGE_HPP
#include "Range.hpp"
#include "../include/Types.hpp"
namespace libvgcode {
+6
View File
@@ -4,6 +4,12 @@
///|/
#include "../include/Viewer.hpp"
#include "ViewerImpl.hpp"
#include <string>
#include <utility>
#include "../include/Types.hpp"
#include <cstddef>
#include <vector>
#include <cstdint>
namespace libvgcode {
+12
View File
@@ -9,14 +9,26 @@
#include "OpenGLUtils.hpp"
#include "Utils.hpp"
#include <cstdint>
#include "../include/Types.hpp"
#include <array>
#include "../include/PathVertex.hpp"
#include "Bitset.hpp"
#include "../include/ColorPrint.hpp"
#include <cfloat>
#include <iterator>
#include <map>
#include <assert.h>
#include <optional>
#include <stdexcept>
#include <cstdio>
#include <string>
#include <algorithm>
#include <cmath>
#include <numeric>
#include <type_traits>
#include <vector>
#include <utility>
namespace libvgcode {
+6
View File
@@ -8,6 +8,12 @@
#include "Settings.hpp"
#include "SegmentTemplate.hpp"
#include "OptionTemplate.hpp"
#include "../include/Types.hpp"
#include <vector>
#include <cstddef>
#include <cstdint>
#include <map>
#include <array>
#if VGCODE_ENABLE_COG_AND_TOOL_MARKERS
#include "CogMarker.hpp"
#include "ToolMarker.hpp"
+19
View File
@@ -1,5 +1,21 @@
#include "Snapshot.hpp"
#include <fstream>
#include <stdexcept>
#include <cstdio>
#include <algorithm>
#include <ios>
#include <ostream>
#include <string>
#include <cassert>
#include <map>
#include <set>
#include <boost/filesystem/directory.hpp>
#include <cstring>
#include <boost/filesystem/file_status.hpp>
#include "libslic3r/Exception.hpp"
#include "slic3r/Config/Version.hpp"
#include <exception>
#include <time.h>
#include <boost/algorithm/string/predicate.hpp>
@@ -26,7 +42,10 @@
#include "../GUI/MainFrame.hpp"
#include "../GUI/MsgDialog.hpp"
#include <vector>
#include <utility>
#include <wx/richmsgdlg.h>
#include <wx/string.h>
#define SLIC3R_SNAPSHOTS_DIR "snapshots"
#define SLIC3R_SNAPSHOT_FILE "snapshot.ini"
+2
View File
@@ -1,6 +1,8 @@
#ifndef slic3r_GUI_Snapshot_
#define slic3r_GUI_Snapshot_
#include <ctime>
#include <cstddef>
#include <map>
#include <set>
#include <string>
+12
View File
@@ -1,9 +1,21 @@
#include "Version.hpp"
#include <boost/filesystem/path.hpp>
#include <boost/optional/optional.hpp>
#include <algorithm>
#include <boost/filesystem/directory.hpp>
#include <cctype>
#include <boost/filesystem/operations.hpp>
#include <boost/nowide/fstream.hpp>
#include "libslic3r/Semver.hpp"
#include <cstring>
#include <string>
#include <cstddef>
#include <vector>
#include <stdexcept>
#include <utility>
#include "libslic3r/Exception.hpp"
#include "libslic3r/libslic3r.h"
#include "libslic3r/Config.hpp"
+1
View File
@@ -1,6 +1,7 @@
#ifndef slic3r_GUI_ConfigIndex_
#define slic3r_GUI_ConfigIndex_
#include <cstddef>
#include <string>
#include <vector>
+1
View File
@@ -18,6 +18,7 @@
#include "slic3r/GUI/Gizmos/GLGizmoBase.hpp"
#include "slic3r/GUI/Widgets/StateColor.hpp"
#include <wx/dcbuffer.h>
#include <wx/event.h>
#include <wx/panel.h>
#include <wx/wx.h>
#include <wx/gdicmn.h>
+1
View File
@@ -12,6 +12,7 @@
#include <sstream>
#include <ios>
#include <iomanip>
#include <wx/anybutton.h>
#include <wx/checklst.h>
#include "slic3r/GUI/GUI_Utils.hpp"
#include "slic3r/GUI/Widgets/Button.hpp"
+1
View File
@@ -16,6 +16,7 @@
#include "Widgets/TextInput.hpp"
#include "Widgets/HyperLink.hpp"
#include "slic3r/Utils/CalibUtils.hpp"
#include <wx/anybutton.h>
#include <wx/colour.h>
#include <vector>
#include <wx/checklst.h>
+1
View File
@@ -12,6 +12,7 @@
#include "slic3r/GUI/Widgets/AnimaController.hpp"
#include "slic3r/GUI/Widgets/Label.hpp"
#include "slic3r/GUI/Widgets/ComboBox.hpp"
#include <wx/anybutton.h>
#include <wx/checklst.h>
#include <wx/gdicmn.h>
#include "slic3r/GUI/GUI_Utils.hpp"
+1
View File
@@ -12,6 +12,7 @@
#include "Widgets/CheckBox.hpp"
#include "slic3r/GUI/DeviceCore/DevFilaAmsSetting.h"
#include <wx/anybutton.h>
#include <wx/checklst.h>
#include <wx/gdicmn.h>
#include <wx/dialog.h>
+1
View File
@@ -18,6 +18,7 @@
#include <cstdio>
#include <cstdlib>
#include <wx/colour.h>
#include <wx/event.h>
#include <wx/gdicmn.h>
#include "libslic3r/CAD/SketchEngine.hpp"
+1
View File
@@ -34,6 +34,7 @@
#include <map>
#include <math.h>
#include <set>
#include <wx/accel.h>
#include <wx/event.h>
#include <wx/gdicmn.h>
#include <wx/chartype.h>
+18
View File
@@ -6,6 +6,24 @@
#include "Lazy.hpp"
#include "SelectMachinePop.hpp"
#include "Widgets/SideTools.hpp"
#include <wx/string.h>
#include "libslic3r/calib.hpp"
#include <wx/panel.h>
#include "slic3r/GUI/wxExtensions.hpp"
#include "slic3r/GUI/DeviceManager.hpp"
#include <wx/gdicmn.h>
#include <wx/event.h>
#include <wx/dc.h>
#include "slic3r/GUI/Widgets/PopupWindow.hpp"
#include <cstddef>
#include <wx/sizer.h>
#include <wx/scrolwin.h>
#include <wx/timer.h>
#include <vector>
#include <string>
#include <memory>
#include <map>
#include "slic3r/GUI/StagedBuild.hpp"
namespace Slic3r { namespace GUI {
+1
View File
@@ -3,6 +3,7 @@
#include "wxExtensions.hpp"
#include "Widgets/Label.hpp"
#include <wx/anybutton.h>
#include <wx/panel.h>
#include <wx/checklst.h>
#include <wx/string.h>
+4
View File
@@ -1,4 +1,8 @@
#include <exception>
#include <stdexcept>
#include "libslic3r/Exception.hpp"
namespace Slic3r {
class ConfigError : public Slic3r::RuntimeError {
+1
View File
@@ -24,6 +24,7 @@
#include <string>
#include <vector>
#include <wx/msgdlg.h>
#include <wx/string.h>
namespace Slic3r {
namespace GUI {
@@ -13,6 +13,7 @@
#include "slic3r/GUI/Widgets/StateColor.hpp"
#include <wx/anybutton.h>
#include <wx/checklst.h>
#include <wx/colour.h>
#include <wx/dcclient.h>
@@ -18,6 +18,7 @@
#include "libslic3r/ProjectTask.hpp"
#include <string>
#include <tuple>
#include <wx/anybutton.h>
#include <wx/panel.h>
#include <wx/checklst.h>
#include <wx/gdicmn.h>
@@ -14,6 +14,7 @@
#include "slic3r/GUI/Widgets/StateColor.hpp"
#include <wx/anybutton.h>
#include <wx/checklst.h>
#include "slic3r/GUI/Widgets/Label.hpp"
#include <string>
@@ -14,9 +14,16 @@
#include "slic3r/GUI/Widgets/StaticBox.hpp"
#include "slic3r/GUI/Widgets/AnimaController.hpp"
#include <wx/event.h>
#include <wx/gdicmn.h>
#include <string>
#include <vector>
#include <unordered_map>
#include <wx/panel.h>
#include <wx/simplebook.h>
#include <memory>
#include <wx/string.h>
#include <wx/sizer.h>
// Previous definitions
class Button;
+1
View File
@@ -6,6 +6,7 @@
#include <algorithm>
#include "I18N.hpp"
#include <boost/log/trivial.hpp>
#include <wx/anybutton.h>
#include <wx/checklst.h>
#include "slic3r/GUI/GUI_Utils.hpp"
#include "slic3r/GUI/wxExtensions.hpp"
+1
View File
@@ -16,6 +16,7 @@
#include "ParamsDialog.hpp"
#include "GUI_App.hpp"
#include "wx/hyperlink.h"
#include <wx/anybutton.h>
#include <wx/checklst.h>
#include <wx/string.h>
#include <string>
+4
View File
@@ -6,10 +6,14 @@
#include <set>
#include <wx/bitmap.h>
#include <wx/button.h>
#include <wx/dataview.h>
#include <wx/event.h>
#include <wx/menu.h>
#include <wx/file.h>
#include <wx/dir.h>
#include <wx/window.h>
#include <wx/string.h>
#include "AuxiliaryDataViewModel.hpp"
+1
View File
@@ -67,6 +67,7 @@
#include <functional>
#include <boost/algorithm/string.hpp>
#include <boost/log/trivial.hpp>
#include <wx/arrstr.h>
#include <wx/dc.h>
#include <wx/gdicmn.h>
#include <wx/colour.h>
@@ -15,6 +15,7 @@
#include "I18N.hpp"
#include "ConfigManipulation.hpp"
#include <wx/arrstr.h>
#include <wx/event.h>
#include <memory>
#include <cstddef>
@@ -1,15 +1,21 @@
#ifndef slic3r_GUI_ObjectTableSettings_hpp_
#define slic3r_GUI_ObjectTableSettings_hpp_
#include <map>
#include <memory>
#include <string>
#include <vector>
#include <wx/event.h>
#include <wx/panel.h>
#include <wx/sizer.h>
#include "wxExtensions.hpp"
#include "libslic3r/PrintConfig.hpp"
class wxBoxSizer;
namespace Slic3r {
class DynamicPrintConfig;
class ModelObject;
class ModelConfig;
namespace GUI {
class ConfigOptionsGroup;
+1
View File
@@ -32,6 +32,7 @@
#include "slic3r/GUI/3DScene.hpp"
#include "libslic3r/Config.hpp"
#include "libslic3r/Line.hpp"
#include <wx/string.h>
#include <wx/utils.h>
#include "libslic3r/TriangleMesh.hpp"
#include "slic3r/GUI/MeshUtils.hpp"
+1
View File
@@ -75,6 +75,7 @@
#include <boost/filesystem/operations.hpp>
#include "slic3r/GUI/Jobs/Worker.hpp"
#include <cfloat>
#include <wx/string.h>
#ifndef IMGUI_DEFINE_MATH_OPERATORS
#define IMGUI_DEFINE_MATH_OPERATORS
#endif
+1
View File
@@ -25,6 +25,7 @@
#include "libslic3r/Geometry.hpp"
#include <wx/intl.h>
#include "libslic3r/Model.hpp"
#include <wx/string.h>
#include <wx/utils.h>
namespace Slic3r {
+1
View File
@@ -24,6 +24,7 @@
#include "slic3r/GUI/GLShader.hpp"
#include <utility>
#include "libslic3r/Geometry.hpp"
#include <wx/string.h>
#include <wx/utils.h>
namespace Slic3r {
@@ -1,11 +1,16 @@
#ifndef slic3r_GizmoObjectManipulation_hpp_
#define slic3r_GizmoObjectManipulation_hpp_
#include <cstddef>
#include <memory>
#include "libslic3r/Point.hpp"
#include "libslic3r/Geometry.hpp"
#include <float.h>
#include <string>
#include <vector>
#include <utility>
#include <wx/string.h>
#include "slic3r/GUI/GUI_Geometry.hpp"
@@ -14,6 +19,7 @@
namespace Slic3r {
namespace GUI {
class ImGuiWrapper;
class Selection;
class GLCanvas3D;
+13
View File
@@ -1,13 +1,26 @@
#ifndef PLATERWORKER_HPP
#define PLATERWORKER_HPP
#include <future>
#include <functional>
#include <exception>
#include <boost/log/trivial.hpp>
#include <ios>
#include <map>
#include <chrono>
#include "Worker.hpp"
#include "BusyCursorJob.hpp"
#include "slic3r/GUI/Jobs/Job.hpp"
#include <memory>
#include <string>
#include <utility>
#include <wx/app.h>
#include <wx/event.h>
#include "slic3r/GUI/GUI.hpp"
#include "slic3r/GUI/GUI_Utils.hpp"
#include "slic3r/GUI/I18N.hpp"
namespace Slic3r { namespace GUI {
+7
View File
@@ -3,7 +3,14 @@
#include "SLAImportJob.hpp"
#include <vector>
#include <algorithm>
#include "libslic3r/Point.hpp"
#include <string>
#include <wx/dialog.h>
#include <wx/event.h>
#include <wx/gdicmn.h>
#include <wx/filedlg.h>
#include <wx/stattext.h>
#include <wx/combobox.h>
#include <wx/filename.h>
+1
View File
@@ -34,6 +34,7 @@
#include "Widgets/StaticLine.hpp"
#include "Widgets/TabCtrl.hpp"
#include <wx/notebook.h>
#include <wx/string.h>
#include <wx/wx.h>
#include <wx/treebase.h>
#include <wx/simplebook.h>
+1
View File
@@ -16,6 +16,7 @@
#include <boost/log/trivial.hpp>
#include <cstddef>
#include <wx/display.h>
#include <wx/gdicmn.h>
#include <wx/popupwin.h>
#include <wx/sizer.h>
#include <wx/timer.h>
+1
View File
@@ -2,6 +2,7 @@
#include "GUI_App.hpp"
#include "MainFrame.hpp"
#include <wx/anybutton.h>
#include <wx/string.h>
#include <wx/arrstr.h>
#include "slic3r/GUI/GUI_Utils.hpp"
+2
View File
@@ -1,6 +1,8 @@
#ifndef PARTSKIPCOMMON_H
#define PARTSKIPCOMMON_H
#include <utility>
#include <vector>
namespace Slic3r { namespace GUI {
+1
View File
@@ -6,6 +6,7 @@
#include "libslic3r/Config.hpp"
#include "libslic3r_version.h"
#include <boost/assert/source_location.hpp>
#include <boost/optional/optional.hpp>
#include <cmath>
#include <boost/algorithm/string/join.hpp>
+1
View File
@@ -21,6 +21,7 @@
#include <boost/algorithm/string.hpp>
#include <boost/log/trivial.hpp>
#include <wx/anybutton.h>
#include <wx/checklst.h>
#include <wx/gdicmn.h>
#include <wx/event.h>
+1
View File
@@ -12,6 +12,7 @@
#include "Widgets/Label.hpp"
#include "Widgets/TextInput.hpp"
#include <string>
#include <wx/anybutton.h>
#include <wx/sizer.h>
#include <wx/checklst.h>
#include <vector>
+1
View File
@@ -16,6 +16,7 @@
#include "Jobs/BoostThreadWorker.hpp"
#include "Jobs/PlaterWorker.hpp"
#include <wx/containr.h>
#include <wx/event.h>
#include <map>
#include <string>
+1
View File
@@ -2,6 +2,7 @@
#include "Widgets/Label.hpp"
#include "slic3r/GUI/Widgets/StaticBox.hpp"
#include <wx/anybutton.h>
#include <wx/colour.h>
#include <utility>
#include "slic3r/GUI/wxExtensions.hpp"
+1
View File
@@ -11,6 +11,7 @@
#include <slic3r/GUI/Widgets/SideTools.hpp>
#include <slic3r/GUI/Widgets/Label.hpp>
#include <slic3r/GUI/I18N.hpp>
#include <wx/anybutton.h>
#include <wx/colour.h>
#include <unordered_map>
#include <wx/string.h>
+1
View File
@@ -2,6 +2,7 @@
#define slic3r_UpgradePanel_hpp_
#include "slic3r/GUI/wxExtensions.hpp"
#include <wx/anybutton.h>
#include <wx/event.h>
#include <wx/gdicmn.h>
#include <wx/dynarray.h>
+1
View File
@@ -11,6 +11,7 @@
#include "slic3r/GUI/DeviceCore/DevFilaSystem.h"
#include "slic3r/GUI/DeviceCore/DevFilaSwitch.h"
#include <wx/anybutton.h>
#include <wx/checklst.h>
#include <wx/gdicmn.h>
#include "slic3r/GUI/AmsMappingPopup.hpp"
+1
View File
@@ -9,6 +9,7 @@
#include "../DeviceManager.hpp"
#include "slic3r/GUI/Event.hpp"
#include "slic3r/GUI/AmsMappingPopup.hpp"
#include <wx/anybutton.h>
#include <wx/checklst.h>
#include <wx/gdicmn.h>
#include <string>
+1
View File
@@ -12,6 +12,7 @@
#include "slic3r/GUI/DeviceCore/DevConfig.h"
#include "slic3r/GUI/DeviceCore/DevManager.h"
#include <wx/anybutton.h>
#include <wx/colour.h>
#include <wx/event.h>
#include "slic3r/GUI/Event.hpp"
+1
View File
@@ -9,6 +9,7 @@
#include "slic3r/GUI/Event.hpp"
#include "slic3r/GUI/AmsMappingPopup.hpp"
#include <string>
#include <wx/anybutton.h>
#include <wx/colour.h>
#include <vector>
#include "slic3r/GUI/DeviceCore/DevDefs.h"
@@ -1,5 +1,6 @@
#include "AnimaController.hpp"
#include <wx/anybutton.h>
#include <wx/checklst.h>
#include <vector>
#include <string>
@@ -3,6 +3,7 @@
#include "../wxExtensions.hpp"
#include "Label.hpp"
#include <wx/anybutton.h>
#include <wx/panel.h>
#include <wx/checklst.h>
#include <vector>
+1
View File
@@ -3,6 +3,7 @@
#include "slic3r/GUI/Widgets/StaticBox.hpp"
#include <utility>
#include <wx/anybutton.h>
#include <wx/checklst.h>
#include <vector>
#include <wx/colour.h>
+1
View File
@@ -3,6 +3,7 @@
#include "../wxExtensions.hpp"
#include "StaticBox.hpp"
#include <wx/anybutton.h>
#include <wx/gdicmn.h>
#include "slic3r/GUI/Widgets/StateColor.hpp"
#include <wx/string.h>
+1
View File
@@ -1,6 +1,7 @@
#include "CheckBox.hpp"
#include "../wxExtensions.hpp"
#include <wx/anybutton.h>
#include <wx/gdicmn.h>
#include <wx/checklst.h>
#include <wx/tglbtn.h>
+1
View File
@@ -3,6 +3,7 @@
#include "../wxExtensions.hpp"
#include <wx/anybutton.h>
#include <wx/checklst.h>
#include <wx/tglbtn.h>
+1
View File
@@ -2,6 +2,7 @@
#include "slic3r/GUI/GUI_App.hpp"
#include "slic3r/GUI/I18N.hpp"
#include <wx/anybutton.h>
#include <wx/arrstr.h>
#include <wx/checklst.h>
#include <wx/sizer.h>
+1
View File
@@ -6,6 +6,7 @@
#include "Label.hpp"
#include "TextInput.hpp"
#include <wx/anybutton.h>
#include <wx/arrstr.h>
#include <wx/checklst.h>
#include <wx/dynarray.h>
+1
View File
@@ -8,6 +8,7 @@
#include <vector>
#include <wx/arrstr.h>
#include <cstddef>
#include <wx/containr.h>
#include <wx/dcgraph.h>
#include <wx/textctrl.h>
#include <wx/string.h>
+1
View File
@@ -3,6 +3,7 @@
#include "TextInput.hpp"
#include "DropDown.hpp"
#include <wx/containr.h>
#include <wx/ctrlsub.h>
#include <vector>
#include <wx/string.h>
+1
View File
@@ -6,6 +6,7 @@
#include "../MsgDialog.hpp"
#include "json_diff.hpp"
#include <wx/anybutton.h>
#include <wx/event.h>
#include <wx/checklst.h>
#include <wx/gdicmn.h>
+1
View File
@@ -9,6 +9,7 @@
#include "../SelectMachine.hpp"
#include "../DeviceManager.hpp"
#include "slic3r/GUI/Event.hpp"
#include <wx/anybutton.h>
#include <wx/gdicmn.h>
#include <wx/checklst.h>
#include <wx/event.h>
+1
View File
@@ -5,6 +5,7 @@
#include "../GUI_App.hpp"
#include "../DeviceCore/DevFilaSystem.h"
#include <wx/anybutton.h>
#include <wx/checklst.h>
#include <wx/gdicmn.h>
#include "slic3r/GUI/Widgets/StepCtrl.hpp"
+1
View File
@@ -8,6 +8,7 @@
#include "../DeviceManager.hpp"
#include "slic3r/GUI/Event.hpp"
#include "slic3r/GUI/AmsMappingPopup.hpp"
#include <wx/anybutton.h>
#include <wx/checklst.h>
#include <wx/gdicmn.h>
#include <map>
@@ -4,6 +4,7 @@
#include "../wxExtensions.hpp"
#include "slic3r/GUI/I18N.hpp"
#include <wx/anybutton.h>
#include <wx/colour.h>
#include <utility>
#include <wx/checklst.h>
+1
View File
@@ -1,6 +1,7 @@
#include "RadioBox.hpp"
#include "../wxExtensions.hpp"
#include <wx/anybutton.h>
#include <wx/checklst.h>
#include <wx/gdicmn.h>
+1
View File
@@ -3,6 +3,7 @@
#include "../wxExtensions.hpp"
#include <wx/anybutton.h>
#include <wx/panel.h>
#include <wx/string.h>
#include <wx/checklst.h>
@@ -1,5 +1,6 @@
#include "RoundedRectangle.hpp"
#include "../wxExtensions.hpp"
#include <wx/anybutton.h>
#include <wx/colour.h>
#include <wx/checklst.h>
#include <wx/dcgraph.h>
@@ -1,4 +1,5 @@
#pragma once
#include <wx/control.h>
#include <wx/scrolwin.h>
#include <wx/gdicmn.h>
#include <wx/event.h>

Some files were not shown because too many files have changed in this diff Show More