mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-20 23:09:18 -07:00
GCodeViewer -> Refactoring of options coloring + options added to legend
This commit is contained in:
@@ -22,9 +22,20 @@ class GCodeViewer
|
||||
{
|
||||
using Color = std::array<float, 3>;
|
||||
static const std::vector<Color> Extrusion_Role_Colors;
|
||||
static const std::vector<Color> Options_Colors;
|
||||
static const std::vector<Color> Travel_Colors;
|
||||
static const std::vector<Color> Range_Colors;
|
||||
|
||||
enum class EOptionsColors : unsigned char
|
||||
{
|
||||
Retractions,
|
||||
Unretractions,
|
||||
ToolChanges,
|
||||
ColorChanges,
|
||||
PausePrints,
|
||||
CustomGCodes
|
||||
};
|
||||
|
||||
// buffer containing vertices data
|
||||
struct VBuffer
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user