mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-10-10 09:11:08 +00:00
Add Missing Includes Across the Remaining Sources and Tests (#16071)
* 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. * Ignore minilzo's Config Headers in clang-tidy lzoconf.h and lzodefs.h are internal to minilzo.h, which is what the code includes. * 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. * 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. * 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. * 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. * Keep the Added Test Includes Below the NOMINMAX Guard test_marchingsquares.cpp and test_texture_displacement.cpp had includes inside #ifndef NOMINMAX, which the tests inherit as defined on Windows from libslic3r, so those were skipped there. .clang-tidy also ignores the MSVC STL and UCRT internals, Boost.Multiprecision's fwd.hpp and CPython's Windows include directory, as in #16068.
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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 {
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -1,4 +1,8 @@
|
||||
#include <exception>
|
||||
#include <stdexcept>
|
||||
|
||||
#include "libslic3r/Exception.hpp"
|
||||
|
||||
namespace Slic3r {
|
||||
|
||||
class ConfigError : public Slic3r::RuntimeError {
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
#ifndef PARTSKIPCOMMON_H
|
||||
#define PARTSKIPCOMMON_H
|
||||
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
namespace Slic3r { namespace GUI {
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -16,6 +16,7 @@
|
||||
#include "Jobs/BoostThreadWorker.hpp"
|
||||
#include "Jobs/PlaterWorker.hpp"
|
||||
|
||||
#include <wx/containr.h>
|
||||
#include <wx/event.h>
|
||||
#include <map>
|
||||
#include <string>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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,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>
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "../wxExtensions.hpp"
|
||||
|
||||
#include <wx/anybutton.h>
|
||||
#include <wx/checklst.h>
|
||||
#include <wx/tglbtn.h>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
#include "TextInput.hpp"
|
||||
#include "DropDown.hpp"
|
||||
#include <wx/containr.h>
|
||||
#include <wx/ctrlsub.h>
|
||||
#include <vector>
|
||||
#include <wx/string.h>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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,6 +1,7 @@
|
||||
#include "RadioBox.hpp"
|
||||
|
||||
#include "../wxExtensions.hpp"
|
||||
#include <wx/anybutton.h>
|
||||
#include <wx/checklst.h>
|
||||
#include <wx/gdicmn.h>
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
#include <vector>
|
||||
#include "slic3r/GUI/Widgets/StateHandler.hpp"
|
||||
#include <wx/colour.h>
|
||||
#include <wx/dc.h>
|
||||
#include <wx/dcclient.h>
|
||||
#include <wx/dcgraph.h>
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
#include <wx/gdicmn.h>
|
||||
#include <wx/dcclient.h>
|
||||
#include <wx/panel.h>
|
||||
#include <wx/string.h>
|
||||
#include <wx/timer.h>
|
||||
#include "Button.hpp"
|
||||
#include "Label.hpp"
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include "slic3r/GUI/Widgets/StaticBox.hpp"
|
||||
#include <utility>
|
||||
#include "slic3r/GUI/Widgets/StateHandler.hpp"
|
||||
#include <wx/containr.h>
|
||||
#include <wx/dcclient.h>
|
||||
#include <wx/dc.h>
|
||||
#include <wx/dcgraph.h>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "StaticBox.hpp"
|
||||
#include "../GUI.hpp"
|
||||
#include <utility>
|
||||
#include <wx/anybutton.h>
|
||||
#include <wx/checklst.h>
|
||||
#include <wx/colour.h>
|
||||
#include <wx/dc.h>
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
#include "../wxExtensions.hpp"
|
||||
#include "StateHandler.hpp"
|
||||
|
||||
#include <wx/anybutton.h>
|
||||
#include <wx/checklst.h>
|
||||
#include <wx/gdicmn.h>
|
||||
#include "slic3r/GUI/Widgets/StateColor.hpp"
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#include "Label.hpp"
|
||||
#include "StateColor.hpp"
|
||||
|
||||
#include <wx/anybutton.h>
|
||||
#include <wx/checklst.h>
|
||||
#include <wx/dc.h>
|
||||
#include <wx/dcclient.h>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "StepCtrl.hpp"
|
||||
#include "Label.hpp"
|
||||
|
||||
#include <wx/anybutton.h>
|
||||
#include <wx/checklst.h>
|
||||
#include "slic3r/GUI/Widgets/StaticBox.hpp"
|
||||
#include <utility>
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#define slic3r_GUI_StepCtrlBase_hpp_
|
||||
|
||||
#include "StaticBox.hpp"
|
||||
#include <wx/anybutton.h>
|
||||
#include <wx/event.h>
|
||||
#include "slic3r/GUI/Widgets/StateColor.hpp"
|
||||
#include <vector>
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
|
||||
#include <cstddef>
|
||||
#include <vector>
|
||||
#include <wx/anybutton.h>
|
||||
#include <wx/event.h>
|
||||
#include <wx/checklst.h>
|
||||
#include <wx/colour.h>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#include "TabCtrl.hpp"
|
||||
|
||||
#include "slic3r/GUI/Widgets/StaticBox.hpp"
|
||||
#include <wx/anybutton.h>
|
||||
#include <wx/checklst.h>
|
||||
#include <cstddef>
|
||||
#include <utility>
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#define slic3r_GUI_TabCtrl_hpp_
|
||||
|
||||
#include "Button.hpp"
|
||||
#include <wx/anybutton.h>
|
||||
#include <wx/event.h>
|
||||
#include "slic3r/GUI/Widgets/StaticBox.hpp"
|
||||
#include <vector>
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
#include "slic3r/GUI/Widgets/StaticBox.hpp"
|
||||
#include <utility>
|
||||
#include <string>
|
||||
#include <wx/anybutton.h>
|
||||
#include <wx/checklst.h>
|
||||
#include "slic3r/GUI/Widgets/StateHandler.hpp"
|
||||
#include <wx/dcclient.h>
|
||||
|
||||
@@ -2,6 +2,7 @@
|
||||
#define slic3r_GUI_TempInput_hpp_
|
||||
|
||||
#include "../wxExtensions.hpp"
|
||||
#include <wx/anybutton.h>
|
||||
#include <wx/event.h>
|
||||
#include <wx/containr.h>
|
||||
#include <wx/gdicmn.h>
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#include <wx/textctrl.h>
|
||||
|
||||
#ifdef __WXMSW__
|
||||
class TextCtrl : public wxTextCtrl
|
||||
{
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
#include <utility>
|
||||
#include <cassert>
|
||||
#include "slic3r/GUI/Widgets/StateHandler.hpp"
|
||||
#include <wx/containr.h>
|
||||
#include <wx/dc.h>
|
||||
#include <algorithm>
|
||||
#include <wx/dcclient.h>
|
||||
|
||||
@@ -1,8 +1,16 @@
|
||||
#ifndef _WIPE_TOWER_DIALOG_H_
|
||||
#define _WIPE_TOWER_DIALOG_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <wx/colour.h>
|
||||
#include <cstddef>
|
||||
#include <wx/dialog.h>
|
||||
#include <wx/panel.h>
|
||||
#include <wx/event.h>
|
||||
#include <wx/string.h>
|
||||
#include <wx/webview.h>
|
||||
#include "libslic3r/FlushVolCalc.hpp"
|
||||
#include "libslic3r/PrintConfig.hpp"
|
||||
#include "Widgets/SpinInput.hpp"
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
#include <sstream>
|
||||
#include <iterator>
|
||||
#include "slic3r/GUI/Widgets/CheckBox.hpp"
|
||||
#include <wx/anybutton.h>
|
||||
#include <wx/checklst.h>
|
||||
#include "libslic3r/Config.hpp"
|
||||
#include <cstddef>
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
#include "Widgets/RadioGroup.hpp"
|
||||
#include "GUI_App.hpp"
|
||||
#include "wx/hyperlink.h"
|
||||
#include <wx/anybutton.h>
|
||||
#include <wx/checklst.h>
|
||||
#include <wx/event.h>
|
||||
#include <wx/radiobox.h>
|
||||
|
||||
Reference in New Issue
Block a user