2022-07-15 15:37:19 +00:00
|
|
|
cmake_minimum_required(VERSION 3.13)
|
|
|
|
project(libslic3r_gui)
|
|
|
|
|
|
|
|
include(PrecompiledHeader)
|
|
|
|
|
|
|
|
set(SLIC3R_GUI_SOURCES
|
|
|
|
pchheader.cpp
|
|
|
|
pchheader.hpp
|
|
|
|
GUI/Printer/PrinterFileSystem.cpp
|
|
|
|
GUI/Printer/PrinterFileSystem.h
|
|
|
|
GUI/Widgets/AxisCtrlButton.cpp
|
|
|
|
GUI/Widgets/AxisCtrlButton.hpp
|
|
|
|
GUI/Widgets/Button.cpp
|
|
|
|
GUI/Widgets/Button.hpp
|
|
|
|
GUI/Widgets/CheckBox.cpp
|
|
|
|
GUI/Widgets/CheckBox.hpp
|
|
|
|
GUI/Widgets/RadioBox.hpp
|
|
|
|
GUI/Widgets/RadioBox.cpp
|
|
|
|
GUI/Widgets/ProgressDialog.hpp
|
|
|
|
GUI/Widgets/ProgressDialog.cpp
|
|
|
|
GUI/Widgets/RoundedRectangle.hpp
|
|
|
|
GUI/Widgets/RoundedRectangle.cpp
|
|
|
|
GUI/Widgets/ComboBox.cpp
|
|
|
|
GUI/Widgets/ComboBox.hpp
|
|
|
|
GUI/Widgets/SideButton.hpp
|
|
|
|
GUI/Widgets/SideButton.cpp
|
|
|
|
GUI/Widgets/SideMenuPopup.hpp
|
|
|
|
GUI/Widgets/SideMenuPopup.cpp
|
|
|
|
GUI/Widgets/DropDown.cpp
|
|
|
|
GUI/Widgets/DropDown.hpp
|
|
|
|
GUI/Widgets/Label.cpp
|
|
|
|
GUI/Widgets/Label.hpp
|
|
|
|
GUI/Widgets/Scrollbar.cpp
|
|
|
|
GUI/Widgets/Scrollbar.hpp
|
|
|
|
GUI/Widgets/ScrolledWindow.cpp
|
|
|
|
GUI/Widgets/ScrolledWindow.hpp
|
|
|
|
GUI/Widgets/StaticBox.cpp
|
|
|
|
GUI/Widgets/StaticBox.hpp
|
|
|
|
GUI/Widgets/ImageSwitchButton.cpp
|
|
|
|
GUI/Widgets/ImageSwitchButton.hpp
|
|
|
|
GUI/Widgets/SwitchButton.cpp
|
|
|
|
GUI/Widgets/SwitchButton.hpp
|
|
|
|
GUI/Widgets/SpinInput.cpp
|
|
|
|
GUI/Widgets/SpinInput.hpp
|
|
|
|
GUI/Widgets/StaticLine.cpp
|
|
|
|
GUI/Widgets/StaticLine.hpp
|
|
|
|
GUI/Widgets/StateColor.cpp
|
|
|
|
GUI/Widgets/StateColor.hpp
|
|
|
|
GUI/Widgets/StateHandler.cpp
|
|
|
|
GUI/Widgets/StateHandler.hpp
|
|
|
|
GUI/Widgets/TabCtrl.cpp
|
|
|
|
GUI/Widgets/TabCtrl.hpp
|
|
|
|
GUI/Widgets/TextInput.cpp
|
|
|
|
GUI/Widgets/TextInput.hpp
|
|
|
|
GUI/Widgets/TempInput.cpp
|
|
|
|
GUI/Widgets/TempInput.hpp
|
|
|
|
GUI/Widgets/AMSControl.cpp
|
|
|
|
GUI/Widgets/AMSControl.hpp
|
2022-12-07 02:46:15 +00:00
|
|
|
GUI/Widgets/FanControl.cpp
|
|
|
|
GUI/Widgets/FanControl.hpp
|
2022-07-15 15:37:19 +00:00
|
|
|
GUI/Widgets/Scrollbar.cpp
|
|
|
|
GUI/Widgets/Scrollbar.hpp
|
|
|
|
GUI/Widgets/ScrolledWindow.cpp
|
|
|
|
GUI/Widgets/ScrolledWindow.hpp
|
|
|
|
GUI/Widgets/StepCtrl.cpp
|
|
|
|
GUI/Widgets/StepCtrl.hpp
|
|
|
|
GUI/Widgets/ProgressBar.cpp
|
|
|
|
GUI/Widgets/ProgressBar.hpp
|
|
|
|
GUI/Widgets/SideTools.cpp
|
|
|
|
GUI/Widgets/SideTools.hpp
|
|
|
|
GUI/Widgets/WebView.cpp
|
|
|
|
GUI/Widgets/WebView.hpp
|
2022-08-29 07:31:54 +00:00
|
|
|
GUI/Widgets/ErrorMsgStaticText.cpp
|
|
|
|
GUI/Widgets/ErrorMsgStaticText.hpp
|
2022-07-15 15:37:19 +00:00
|
|
|
GUI/AboutDialog.cpp
|
|
|
|
GUI/AboutDialog.hpp
|
2022-08-12 03:20:17 +00:00
|
|
|
GUI/NetworkTestDialog.cpp
|
|
|
|
GUI/NetworkTestDialog.hpp
|
2022-07-15 15:37:19 +00:00
|
|
|
GUI/AuxiliaryDialog.cpp
|
|
|
|
GUI/AuxiliaryDialog.hpp
|
|
|
|
GUI/Auxiliary.cpp
|
|
|
|
GUI/Auxiliary.hpp
|
|
|
|
GUI/BackgroundSlicingProcess.cpp
|
|
|
|
GUI/BackgroundSlicingProcess.hpp
|
|
|
|
GUI/BitmapCache.cpp
|
|
|
|
GUI/BitmapCache.hpp
|
|
|
|
GUI/ImageGrid.cpp
|
|
|
|
GUI/ImageGrid.h
|
|
|
|
GUI/3DScene.cpp
|
|
|
|
GUI/3DScene.hpp
|
|
|
|
GUI/format.hpp
|
|
|
|
GUI/GLShadersManager.hpp
|
|
|
|
GUI/GLShadersManager.cpp
|
|
|
|
GUI/GLShader.cpp
|
|
|
|
GUI/GLShader.hpp
|
|
|
|
GUI/GLCanvas3D.hpp
|
|
|
|
GUI/GLCanvas3D.cpp
|
|
|
|
GUI/OpenGLManager.hpp
|
|
|
|
GUI/OpenGLManager.cpp
|
|
|
|
GUI/Selection.hpp
|
|
|
|
GUI/Selection.cpp
|
|
|
|
GUI/Gizmos/GLGizmosManager.cpp
|
|
|
|
GUI/Gizmos/GLGizmosManager.hpp
|
|
|
|
GUI/Gizmos/GLGizmosCommon.cpp
|
|
|
|
GUI/Gizmos/GLGizmosCommon.hpp
|
|
|
|
GUI/Gizmos/GLGizmoBase.cpp
|
|
|
|
GUI/Gizmos/GLGizmoBase.hpp
|
|
|
|
GUI/Gizmos/GLGizmoMove.cpp
|
|
|
|
GUI/Gizmos/GLGizmoMove.hpp
|
|
|
|
GUI/Gizmos/GLGizmoRotate.cpp
|
|
|
|
GUI/Gizmos/GLGizmoRotate.hpp
|
|
|
|
GUI/Gizmos/GLGizmoScale.cpp
|
|
|
|
GUI/Gizmos/GLGizmoScale.hpp
|
|
|
|
GUI/Gizmos/GLGizmoSlaSupports.cpp
|
|
|
|
GUI/Gizmos/GLGizmoSlaSupports.hpp
|
|
|
|
GUI/Gizmos/GLGizmoFdmSupports.cpp
|
|
|
|
GUI/Gizmos/GLGizmoFdmSupports.hpp
|
|
|
|
GUI/Gizmos/GLGizmoFlatten.cpp
|
|
|
|
GUI/Gizmos/GLGizmoFlatten.hpp
|
|
|
|
GUI/Gizmos/GLGizmoAdvancedCut.cpp
|
|
|
|
GUI/Gizmos/GLGizmoAdvancedCut.hpp
|
|
|
|
GUI/Gizmos/GLGizmoHollow.cpp
|
|
|
|
GUI/Gizmos/GLGizmoHollow.hpp
|
|
|
|
GUI/Gizmos/GLGizmoPainterBase.cpp
|
|
|
|
GUI/Gizmos/GLGizmoPainterBase.hpp
|
|
|
|
GUI/Gizmos/GLGizmoSimplify.cpp
|
|
|
|
GUI/Gizmos/GLGizmoSimplify.hpp
|
|
|
|
GUI/Gizmos/GLGizmoMmuSegmentation.cpp
|
|
|
|
GUI/Gizmos/GLGizmoMmuSegmentation.hpp
|
|
|
|
GUI/Gizmos/GLGizmoFaceDetector.cpp
|
|
|
|
GUI/Gizmos/GLGizmoFaceDetector.hpp
|
|
|
|
GUI/Gizmos/GLGizmoSeam.cpp
|
|
|
|
GUI/Gizmos/GLGizmoSeam.hpp
|
2022-08-12 13:13:52 +00:00
|
|
|
GUI/Gizmos/GLGizmoText.cpp
|
|
|
|
GUI/Gizmos/GLGizmoText.hpp
|
2022-07-15 15:37:19 +00:00
|
|
|
GUI/GLSelectionRectangle.cpp
|
|
|
|
GUI/GLSelectionRectangle.hpp
|
|
|
|
GUI/Gizmos/GizmoObjectManipulation.cpp
|
|
|
|
GUI/Gizmos/GizmoObjectManipulation.hpp
|
|
|
|
GUI/GLModel.hpp
|
|
|
|
GUI/GLModel.cpp
|
|
|
|
GUI/GLTexture.hpp
|
|
|
|
GUI/GLTexture.cpp
|
|
|
|
GUI/GLToolbar.hpp
|
|
|
|
GUI/GLToolbar.cpp
|
|
|
|
GUI/IMToolbar.hpp
|
|
|
|
GUI/IMToolbar.cpp
|
|
|
|
GUI/GCodeViewer.hpp
|
|
|
|
GUI/GCodeViewer.cpp
|
|
|
|
GUI/Preferences.cpp
|
|
|
|
GUI/Preferences.hpp
|
|
|
|
GUI/AMSSetting.cpp
|
|
|
|
GUI/AMSSetting.hpp
|
|
|
|
GUI/AMSMaterialsSetting.cpp
|
|
|
|
GUI/AMSMaterialsSetting.hpp
|
2022-11-22 09:54:39 +00:00
|
|
|
GUI/ExtrusionCalibration.cpp
|
|
|
|
GUI/ExtrusionCalibration.hpp
|
2022-07-15 15:37:19 +00:00
|
|
|
GUI/PresetHints.cpp
|
|
|
|
GUI/PresetHints.hpp
|
|
|
|
GUI/GUI.cpp
|
|
|
|
GUI/GUI.hpp
|
|
|
|
GUI/GUI_Init.cpp
|
|
|
|
GUI/GUI_Init.hpp
|
|
|
|
GUI/GUI_Preview.cpp
|
|
|
|
GUI/GUI_Preview.hpp
|
|
|
|
GUI/GUI_App.cpp
|
|
|
|
GUI/GUI_App.hpp
|
|
|
|
GUI/GUI_Utils.cpp
|
|
|
|
GUI/GUI_Utils.hpp
|
|
|
|
GUI/I18N.cpp
|
|
|
|
GUI/I18N.hpp
|
|
|
|
GUI/MainFrame.cpp
|
|
|
|
GUI/MainFrame.hpp
|
|
|
|
GUI/BBLTopbar.cpp
|
|
|
|
GUI/BBLTopbar.hpp
|
2022-09-20 12:35:51 +00:00
|
|
|
GUI/BedShapeDialog.cpp
|
|
|
|
GUI/BedShapeDialog.hpp
|
2022-07-15 15:37:19 +00:00
|
|
|
GUI/Plater.cpp
|
|
|
|
GUI/Plater.hpp
|
|
|
|
GUI/PartPlate.cpp
|
|
|
|
GUI/PartPlate.hpp
|
|
|
|
GUI/PresetComboBoxes.hpp
|
|
|
|
GUI/PresetComboBoxes.cpp
|
|
|
|
GUI/BitmapComboBox.hpp
|
|
|
|
GUI/BitmapComboBox.cpp
|
|
|
|
GUI/SavePresetDialog.hpp
|
|
|
|
GUI/SavePresetDialog.cpp
|
|
|
|
GUI/GUI_Colors.hpp
|
|
|
|
GUI/GUI_Colors.cpp
|
|
|
|
GUI/GUI_Factories.cpp
|
|
|
|
GUI/GUI_Factories.hpp
|
|
|
|
GUI/GUI_ObjectList.cpp
|
|
|
|
GUI/GUI_ObjectList.hpp
|
|
|
|
GUI/GUI_AuxiliaryList.cpp
|
|
|
|
GUI/GUI_AuxiliaryList.hpp
|
|
|
|
GUI/GUI_ObjectSettings.cpp
|
|
|
|
GUI/GUI_ObjectSettings.hpp
|
|
|
|
GUI/GUI_ObjectTable.cpp
|
|
|
|
GUI/GUI_ObjectTable.hpp
|
|
|
|
GUI/GUI_ObjectTableSettings.cpp
|
|
|
|
GUI/GUI_ObjectTableSettings.hpp
|
|
|
|
GUI/MeshUtils.cpp
|
|
|
|
GUI/MeshUtils.hpp
|
|
|
|
GUI/Tab.cpp
|
|
|
|
GUI/Tab.hpp
|
|
|
|
GUI/ParamsDialog.cpp
|
|
|
|
GUI/ParamsDialog.hpp
|
|
|
|
GUI/ParamsPanel.cpp
|
|
|
|
GUI/ParamsPanel.hpp
|
2022-09-19 01:18:48 +00:00
|
|
|
GUI/PrintHostDialogs.cpp
|
|
|
|
GUI/PrintHostDialogs.hpp
|
2022-07-15 15:37:19 +00:00
|
|
|
GUI/AmsWidgets.cpp
|
|
|
|
GUI/AmsWidgets.hpp
|
|
|
|
GUI/MediaFilePanel.cpp
|
|
|
|
GUI/MediaFilePanel.h
|
|
|
|
GUI/MediaPlayCtrl.cpp
|
|
|
|
GUI/MediaPlayCtrl.h
|
|
|
|
GUI/MonitorBasePanel.cpp
|
|
|
|
GUI/MonitorBasePanel.h
|
|
|
|
GUI/UpgradePanel.cpp
|
|
|
|
GUI/UpgradePanel.hpp
|
2022-09-15 06:51:29 +00:00
|
|
|
GUI/HintNotification.hpp
|
|
|
|
GUI/HintNotification.cpp
|
2022-07-15 15:37:19 +00:00
|
|
|
GUI/HMSPanel.hpp
|
|
|
|
GUI/HMSPanel.cpp
|
|
|
|
GUI/MonitorPage.cpp
|
|
|
|
GUI/MonitorPage.hpp
|
|
|
|
GUI/StatusPanel.cpp
|
|
|
|
GUI/StatusPanel.hpp
|
2022-08-05 09:57:07 +00:00
|
|
|
GUI/HMS.hpp
|
|
|
|
GUI/HMS.cpp
|
2022-07-15 15:37:19 +00:00
|
|
|
GUI/SliceInfoPanel.cpp
|
|
|
|
GUI/SliceInfoPanel.hpp
|
|
|
|
GUI/CameraPopup.cpp
|
|
|
|
GUI/CameraPopup.hpp
|
|
|
|
GUI/Monitor.cpp
|
|
|
|
GUI/Monitor.hpp
|
|
|
|
GUI/WebViewDialog.cpp
|
|
|
|
GUI/WebViewDialog.hpp
|
2022-07-22 09:46:10 +00:00
|
|
|
GUI/WebDownPluginDlg.hpp
|
|
|
|
GUI/WebDownPluginDlg.cpp
|
2022-07-15 15:37:19 +00:00
|
|
|
GUI/WebGuideDialog.hpp
|
|
|
|
GUI/WebGuideDialog.cpp
|
|
|
|
GUI/WebUserLoginDialog.cpp
|
|
|
|
GUI/WebUserLoginDialog.hpp
|
|
|
|
GUI/ConfigManipulation.cpp
|
|
|
|
GUI/ConfigManipulation.hpp
|
|
|
|
GUI/Field.cpp
|
|
|
|
GUI/Field.hpp
|
|
|
|
GUI/OptionsGroup.cpp
|
|
|
|
GUI/OptionsGroup.hpp
|
|
|
|
GUI/OG_CustomCtrl.cpp
|
|
|
|
GUI/OG_CustomCtrl.hpp
|
|
|
|
GUI/MarkdownTip.cpp
|
|
|
|
GUI/MarkdownTip.hpp
|
|
|
|
GUI/2DBed.cpp
|
|
|
|
GUI/2DBed.hpp
|
|
|
|
GUI/3DBed.cpp
|
|
|
|
GUI/3DBed.hpp
|
|
|
|
GUI/Camera.cpp
|
|
|
|
GUI/Camera.hpp
|
|
|
|
GUI/wxExtensions.cpp
|
|
|
|
GUI/wxExtensions.hpp
|
|
|
|
GUI/WipeTowerDialog.cpp
|
|
|
|
GUI/WipeTowerDialog.hpp
|
2022-09-16 03:31:12 +00:00
|
|
|
GUI/RemovableDriveManager.cpp
|
|
|
|
GUI/RemovableDriveManager.hpp
|
2022-07-15 15:37:19 +00:00
|
|
|
GUI/SendSystemInfoDialog.cpp
|
|
|
|
GUI/SendSystemInfoDialog.hpp
|
2023-01-04 09:56:41 +00:00
|
|
|
GUI/PlateSettingsDialog.cpp
|
|
|
|
GUI/PlateSettingsDialog.hpp
|
2022-07-15 15:37:19 +00:00
|
|
|
GUI/ImGuiWrapper.hpp
|
|
|
|
GUI/ImGuiWrapper.cpp
|
|
|
|
GUI/DeviceManager.hpp
|
|
|
|
GUI/DeviceManager.cpp
|
2023-01-28 03:18:12 +00:00
|
|
|
GUI/HttpServer.hpp
|
|
|
|
GUI/HttpServer.cpp
|
2022-07-15 15:37:19 +00:00
|
|
|
Config/Snapshot.cpp
|
|
|
|
Config/Snapshot.hpp
|
|
|
|
Config/Version.cpp
|
|
|
|
Config/Version.hpp
|
|
|
|
Utils/ASCIIFolding.cpp
|
|
|
|
Utils/ASCIIFolding.hpp
|
|
|
|
GUI/ConfigWizard.cpp
|
|
|
|
GUI/ConfigWizard.hpp
|
|
|
|
GUI/ConnectPrinter.cpp
|
|
|
|
GUI/ConnectPrinter.hpp
|
|
|
|
GUI/ConfigWizard_private.hpp
|
|
|
|
GUI/MsgDialog.cpp
|
|
|
|
GUI/MsgDialog.hpp
|
2022-07-22 09:46:10 +00:00
|
|
|
GUI/DownloadProgressDialog.hpp
|
|
|
|
GUI/DownloadProgressDialog.cpp
|
2022-07-15 15:37:19 +00:00
|
|
|
GUI/UpdateDialogs.cpp
|
|
|
|
GUI/UpdateDialogs.hpp
|
|
|
|
GUI/Jobs/Job.hpp
|
|
|
|
GUI/Jobs/Job.cpp
|
|
|
|
GUI/Jobs/PlaterJob.hpp
|
|
|
|
GUI/Jobs/PlaterJob.cpp
|
2022-07-22 09:46:10 +00:00
|
|
|
GUI/Jobs/UpgradeNetworkJob.hpp
|
|
|
|
GUI/Jobs/UpgradeNetworkJob.cpp
|
2022-07-15 15:37:19 +00:00
|
|
|
GUI/Jobs/ArrangeJob.hpp
|
|
|
|
GUI/Jobs/ArrangeJob.cpp
|
|
|
|
GUI/Jobs/OrientJob.hpp
|
|
|
|
GUI/Jobs/OrientJob.cpp
|
|
|
|
GUI/Jobs/RotoptimizeJob.hpp
|
|
|
|
GUI/Jobs/RotoptimizeJob.cpp
|
|
|
|
GUI/Jobs/FillBedJob.hpp
|
|
|
|
GUI/Jobs/FillBedJob.cpp
|
|
|
|
GUI/Jobs/SLAImportJob.hpp
|
|
|
|
GUI/Jobs/SLAImportJob.cpp
|
|
|
|
GUI/Jobs/ProgressIndicator.hpp
|
|
|
|
GUI/Jobs/PrintJob.hpp
|
|
|
|
GUI/Jobs/PrintJob.cpp
|
2022-09-29 06:55:49 +00:00
|
|
|
GUI/Jobs/SendJob.hpp
|
|
|
|
GUI/Jobs/SendJob.cpp
|
2022-07-15 15:37:19 +00:00
|
|
|
GUI/Jobs/BindJob.hpp
|
|
|
|
GUI/Jobs/BindJob.cpp
|
|
|
|
GUI/Jobs/NotificationProgressIndicator.hpp
|
|
|
|
GUI/Jobs/NotificationProgressIndicator.cpp
|
2022-09-19 01:18:48 +00:00
|
|
|
GUI/PhysicalPrinterDialog.hpp
|
|
|
|
GUI/PhysicalPrinterDialog.cpp
|
2022-07-15 15:37:19 +00:00
|
|
|
GUI/ProgressStatusBar.hpp
|
|
|
|
GUI/ProgressStatusBar.cpp
|
|
|
|
GUI/BBLStatusBar.hpp
|
|
|
|
GUI/BBLStatusBar.cpp
|
|
|
|
GUI/BBLStatusBarSend.hpp
|
|
|
|
GUI/BBLStatusBarSend.cpp
|
|
|
|
GUI/BBLStatusBarBind.hpp
|
|
|
|
GUI/BBLStatusBarBind.cpp
|
|
|
|
GUI/Mouse3DController.cpp
|
|
|
|
GUI/Mouse3DController.hpp
|
|
|
|
GUI/IMSlider.cpp
|
|
|
|
GUI/IMSlider.hpp
|
|
|
|
GUI/IMSlider_Utils.hpp
|
|
|
|
GUI/Notebook.cpp
|
|
|
|
GUI/Notebook.hpp
|
|
|
|
GUI/TabButton.cpp
|
|
|
|
GUI/TabButton.hpp
|
|
|
|
GUI/Tabbook.cpp
|
|
|
|
GUI/Tabbook.hpp
|
|
|
|
GUI/ObjectDataViewModel.cpp
|
|
|
|
GUI/ObjectDataViewModel.hpp
|
|
|
|
GUI/AuxiliaryDataViewModel.cpp
|
|
|
|
GUI/AuxiliaryDataViewModel.hpp
|
|
|
|
#GUI/InstanceCheck.cpp
|
|
|
|
#GUI/InstanceCheck.hpp
|
|
|
|
GUI/Search.cpp
|
|
|
|
GUI/Search.hpp
|
|
|
|
GUI/NotificationManager.cpp
|
|
|
|
GUI/NotificationManager.hpp
|
|
|
|
GUI/UnsavedChangesDialog.cpp
|
|
|
|
GUI/UnsavedChangesDialog.hpp
|
|
|
|
GUI/ExtraRenderers.cpp
|
|
|
|
GUI/ExtraRenderers.hpp
|
|
|
|
GUI/ProjectDirtyStateManager.hpp
|
|
|
|
GUI/ProjectDirtyStateManager.cpp
|
|
|
|
GUI/DesktopIntegrationDialog.cpp
|
|
|
|
GUI/DesktopIntegrationDialog.hpp
|
|
|
|
GUI/PublishDialog.cpp
|
|
|
|
GUI/PublishDialog.hpp
|
2022-08-31 08:32:56 +00:00
|
|
|
GUI/RecenterDialog.cpp
|
|
|
|
GUI/RecenterDialog.hpp
|
2022-09-19 01:18:48 +00:00
|
|
|
GUI/BonjourDialog.cpp
|
|
|
|
GUI/BonjourDialog.hpp
|
2022-07-15 15:37:19 +00:00
|
|
|
GUI/BindDialog.cpp
|
|
|
|
GUI/BindDialog.hpp
|
2022-10-17 06:08:38 +00:00
|
|
|
GUI/ModelMall.hpp
|
|
|
|
GUI/ModelMall.cpp
|
2022-07-15 15:37:19 +00:00
|
|
|
GUI/SelectMachine.hpp
|
|
|
|
GUI/SelectMachine.cpp
|
2022-09-29 06:55:49 +00:00
|
|
|
GUI/SendToPrinter.hpp
|
|
|
|
GUI/SendToPrinter.cpp
|
2022-07-15 15:37:19 +00:00
|
|
|
GUI/AmsMappingPopup.hpp
|
|
|
|
GUI/AmsMappingPopup.cpp
|
|
|
|
GUI/ReleaseNote.hpp
|
|
|
|
GUI/ReleaseNote.cpp
|
|
|
|
GUI/Calibration.hpp
|
|
|
|
GUI/Calibration.cpp
|
2022-07-27 10:13:40 +00:00
|
|
|
GUI/PrintOptionsDialog.hpp
|
|
|
|
GUI/PrintOptionsDialog.cpp
|
2022-07-15 15:37:19 +00:00
|
|
|
Utils/json_diff.hpp
|
|
|
|
Utils/json_diff.cpp
|
|
|
|
GUI/KBShortcutsDialog.hpp
|
|
|
|
GUI/KBShortcutsDialog.cpp
|
|
|
|
Utils/Http.cpp
|
|
|
|
Utils/Http.hpp
|
|
|
|
Utils/FixModelByWin10.cpp
|
|
|
|
Utils/FixModelByWin10.hpp
|
|
|
|
Utils/Bonjour.cpp
|
|
|
|
Utils/Bonjour.hpp
|
|
|
|
Utils/PresetUpdater.cpp
|
|
|
|
Utils/PresetUpdater.hpp
|
|
|
|
Utils/Process.cpp
|
|
|
|
Utils/Process.hpp
|
|
|
|
Utils/Profile.hpp
|
|
|
|
Utils/UndoRedo.cpp
|
|
|
|
Utils/UndoRedo.hpp
|
|
|
|
Utils/HexFile.cpp
|
|
|
|
Utils/HexFile.hpp
|
|
|
|
Utils/TCPConsole.cpp
|
|
|
|
Utils/TCPConsole.hpp
|
|
|
|
Utils/minilzo_extension.hpp
|
|
|
|
Utils/minilzo_extension.cpp
|
|
|
|
Utils/ColorSpaceConvert.hpp
|
|
|
|
Utils/ColorSpaceConvert.cpp
|
2022-09-19 01:18:48 +00:00
|
|
|
Utils/OctoPrint.hpp
|
|
|
|
Utils/OctoPrint.cpp
|
|
|
|
Utils/PrintHost.hpp
|
|
|
|
Utils/PrintHost.cpp
|
2022-07-15 15:37:19 +00:00
|
|
|
Utils/NetworkAgent.cpp
|
|
|
|
Utils/NetworkAgent.hpp
|
|
|
|
)
|
|
|
|
|
2022-11-04 03:28:05 +00:00
|
|
|
if (WIN32)
|
|
|
|
list(APPEND SLIC3R_GUI_SOURCES
|
|
|
|
GUI/dark_mode/dark_mode.hpp
|
|
|
|
GUI/dark_mode/IatHook.hpp
|
|
|
|
GUI/dark_mode/UAHMenuBar.hpp
|
|
|
|
GUI/dark_mode.hpp
|
|
|
|
GUI/dark_mode.cpp
|
|
|
|
)
|
|
|
|
endif ()
|
|
|
|
|
2022-07-15 15:37:19 +00:00
|
|
|
if (APPLE)
|
|
|
|
list(APPEND SLIC3R_GUI_SOURCES
|
|
|
|
Utils/RetinaHelperImpl.mm
|
|
|
|
Utils/MacDarkMode.mm
|
2022-09-16 03:31:12 +00:00
|
|
|
GUI/RemovableDriveManagerMM.mm
|
|
|
|
GUI/RemovableDriveManagerMM.h
|
2022-07-15 15:37:19 +00:00
|
|
|
GUI/Mouse3DHandlerMac.mm
|
|
|
|
#GUI/InstanceCheckMac.mm
|
|
|
|
#GUI/InstanceCheckMac.h
|
|
|
|
GUI/wxMediaCtrl2.mm
|
|
|
|
GUI/wxMediaCtrl2.h
|
|
|
|
)
|
|
|
|
FIND_LIBRARY(DISKARBITRATION_LIBRARY DiskArbitration)
|
|
|
|
else ()
|
|
|
|
list(APPEND SLIC3R_GUI_SOURCES
|
|
|
|
GUI/wxMediaCtrl2.cpp
|
|
|
|
GUI/wxMediaCtrl2.h
|
|
|
|
)
|
|
|
|
endif ()
|
|
|
|
|
Add support for Bambu Lab X1 series live video stream on Linux.
wxWidgets on Linux uses GStreamer as its back-end for wxMediaCtrl, which
doesn't have a bambu: URI handler. On Windows, this is handled by a Windows
Media subsystem plugin, and on Mac, this is handled with a BambuPlayer
class. Luckily, the libBambuSource.so binary that is distributed with the
network plugin package already contains support for receiving h.264 data
from the network, and the API is the same as is used by the tiny
bambusource.exe binary on Windows; we glue this into a GStreamer source
plugin that registers a URI handler for bambu:.
To make this work, we make a few additional changes elsewhere. GStreamer
seems to have trouble rendering an Xv overlay onto a 32bpp X visual, but
Bambu Slicer seems to request a 32bpp visual for some background
transparency in the Notebook; it doesn't seem to use it in an interesting
way on Linux, though, so we remove that request for transparency to allow
Bambu Studio to render to a 24bpp visual. The media controller
infrastructure also makes a few assumptions about when sizing information
can be queried from a wxMediaCtrl backend that do not hold true on Linux; we
either fix those assumptions, or fake them out, as needed. We also make a
few changes needed to successfully compile C.
This has only been tested with the GStreamer backend for wxWidgets --
notably, not the GStreamer-play backend (these are, astonishingly, two
different things!). If you find that this seems not to work, consider
*un*installing the libgstreamer-plugins-bad1.0-dev package and then
rebuilding wxWidgets.
2023-01-10 09:40:39 +00:00
|
|
|
if (UNIX AND NOT APPLE)
|
|
|
|
list(APPEND SLIC3R_GUI_SOURCES
|
|
|
|
GUI/Printer/gstbambusrc.c
|
|
|
|
)
|
|
|
|
endif ()
|
|
|
|
|
2022-07-15 15:37:19 +00:00
|
|
|
add_library(libslic3r_gui STATIC ${SLIC3R_GUI_SOURCES})
|
|
|
|
target_include_directories(libslic3r_gui PRIVATE Utils)
|
|
|
|
|
2022-12-09 09:34:28 +00:00
|
|
|
if (WIN32)
|
|
|
|
target_include_directories(libslic3r_gui PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../../deps/WebView2/include)
|
|
|
|
endif()
|
|
|
|
|
2022-07-15 15:37:19 +00:00
|
|
|
source_group(TREE ${CMAKE_CURRENT_SOURCE_DIR} FILES ${SLIC3R_GUI_SOURCES})
|
|
|
|
|
|
|
|
encoding_check(libslic3r_gui)
|
|
|
|
|
2022-08-09 02:13:02 +00:00
|
|
|
target_link_libraries(libslic3r_gui libslic3r cereal imgui minilzo GLEW::GLEW OpenGL::GL hidapi ${wxWidgets_LIBRARIES} glfw libcurl OpenSSL::SSL OpenSSL::Crypto)
|
|
|
|
#target_link_libraries(libslic3r_gui libslic3r cereal imgui minilzo GLEW::GLEW OpenGL::GL hidapi libcurl OpenSSL::SSL OpenSSL::Crypto ${wxWidgets_LIBRARIES} glfw)
|
2022-07-15 15:37:19 +00:00
|
|
|
|
|
|
|
if (MSVC)
|
|
|
|
target_link_libraries(libslic3r_gui Setupapi.lib)
|
|
|
|
elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux")
|
2022-08-13 03:57:54 +00:00
|
|
|
FIND_LIBRARY(WAYLAND_SERVER_LIBRARIES NAMES wayland-server)
|
|
|
|
FIND_LIBRARY(WAYLAND_EGL_LIBRARIES NAMES wayland-egl)
|
|
|
|
FIND_LIBRARY(WAYLAND_CLIENT_LIBRARIES NAMES wayland-client)
|
|
|
|
find_package(CURL REQUIRED)
|
2022-07-15 15:37:19 +00:00
|
|
|
target_link_libraries(libslic3r_gui ${DBUS_LIBRARIES} OSMesa)
|
2022-08-13 03:57:54 +00:00
|
|
|
target_link_libraries(libslic3r_gui
|
|
|
|
OpenGL::EGL
|
|
|
|
${WAYLAND_SERVER_LIBRARIES}
|
|
|
|
${WAYLAND_EGL_LIBRARIES}
|
|
|
|
${WAYLAND_CLIENT_LIBRARIES}
|
|
|
|
${CURL_LIBRARIES}
|
|
|
|
)
|
2022-07-15 15:37:19 +00:00
|
|
|
elseif (APPLE)
|
|
|
|
target_link_libraries(libslic3r_gui ${DISKARBITRATION_LIBRARY})
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if (SLIC3R_STATIC)
|
|
|
|
# FIXME: This was previously exported by wx-config but the wxWidgets
|
|
|
|
# cmake build forgets this and the build fails in debug mode (or on raspberry release)
|
|
|
|
target_compile_definitions(libslic3r_gui PUBLIC -DwxDEBUG_LEVEL=0)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if (SLIC3R_STATIC AND NOT SLIC3R_STATIC_EXCLUDE_CURL AND UNIX AND NOT APPLE)
|
|
|
|
target_compile_definitions(libslic3r_gui PRIVATE OPENSSL_CERT_OVERRIDE)
|
|
|
|
endif ()
|
|
|
|
|
|
|
|
if (SLIC3R_PCH AND NOT SLIC3R_SYNTAXONLY)
|
|
|
|
add_precompiled_header(libslic3r_gui pchheader.hpp FORCEINCLUDE)
|
|
|
|
endif ()
|
|
|
|
|
|
|
|
# We need to implement some hacks for wxWidgets and touch the underlying GTK
|
|
|
|
# layer and sub-libraries. This forces us to use the include locations and
|
|
|
|
# link these libraries.
|
|
|
|
if (UNIX AND NOT APPLE)
|
|
|
|
find_package(GTK${SLIC3R_GTK} REQUIRED)
|
|
|
|
target_include_directories(libslic3r_gui PRIVATE ${GTK${SLIC3R_GTK}_INCLUDE_DIRS})
|
|
|
|
target_link_libraries(libslic3r_gui ${GTK${SLIC3R_GTK}_LIBRARIES})
|
Add support for Bambu Lab X1 series live video stream on Linux.
wxWidgets on Linux uses GStreamer as its back-end for wxMediaCtrl, which
doesn't have a bambu: URI handler. On Windows, this is handled by a Windows
Media subsystem plugin, and on Mac, this is handled with a BambuPlayer
class. Luckily, the libBambuSource.so binary that is distributed with the
network plugin package already contains support for receiving h.264 data
from the network, and the API is the same as is used by the tiny
bambusource.exe binary on Windows; we glue this into a GStreamer source
plugin that registers a URI handler for bambu:.
To make this work, we make a few additional changes elsewhere. GStreamer
seems to have trouble rendering an Xv overlay onto a 32bpp X visual, but
Bambu Slicer seems to request a 32bpp visual for some background
transparency in the Notebook; it doesn't seem to use it in an interesting
way on Linux, though, so we remove that request for transparency to allow
Bambu Studio to render to a 24bpp visual. The media controller
infrastructure also makes a few assumptions about when sizing information
can be queried from a wxMediaCtrl backend that do not hold true on Linux; we
either fix those assumptions, or fake them out, as needed. We also make a
few changes needed to successfully compile C.
This has only been tested with the GStreamer backend for wxWidgets --
notably, not the GStreamer-play backend (these are, astonishingly, two
different things!). If you find that this seems not to work, consider
*un*installing the libgstreamer-plugins-bad1.0-dev package and then
rebuilding wxWidgets.
2023-01-10 09:40:39 +00:00
|
|
|
|
|
|
|
# We add GStreamer for bambu:/// support.
|
|
|
|
pkg_check_modules(GSTREAMER REQUIRED gstreamer-1.0)
|
|
|
|
pkg_check_modules(GST_BASE REQUIRED gstreamer-base-1.0)
|
|
|
|
target_link_libraries(libslic3r_gui ${GSTREAMER_LIBRARIES} ${GST_BASE_LIBRARIES})
|
|
|
|
target_include_directories(libslic3r_gui PRIVATE ${GSTREAMER_INCLUDE_DIRS} ${GST_BASE_INCLUDE_DIRS})
|
2022-07-15 15:37:19 +00:00
|
|
|
endif ()
|