Implemented editing for extruder of existing ToolChangeCode tick

+ Code refactoring: DoubleSlider is extracted from wxExtensions
This commit is contained in:
YuSanka 2020-01-23 15:07:31 +01:00
parent 1ed313ab79
commit 5ff8ae955b
14 changed files with 2128 additions and 2041 deletions

View file

@ -8,6 +8,11 @@ namespace Slic3r {
class DynamicPrintConfig;
// Additional Codes which can be set by user using DoubleSlider
static constexpr char ColorChangeCode[] = "M600";
static constexpr char PausePrintCode[] = "M601";
static constexpr char ToolChangeCode[] = "tool_change";
namespace CustomGCode {
struct Item

View file

@ -1,4 +1,5 @@
#include "GCodeWriter.hpp"
#include "CustomGCode.hpp"
#include <algorithm>
#include <iomanip>
#include <iostream>

View file

@ -10,11 +10,6 @@
namespace Slic3r {
// Additional Codes which can be set by user using DoubleSlider
static constexpr char ColorChangeCode[] = "M600";
static constexpr char PausePrintCode[] = "M601";
static constexpr char ToolChangeCode[] = "tool_change";
class GCodeWriter {
public:
GCodeConfig config;