mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-11 00:37:51 -06:00
GCodeViewer -> Refactoring of options coloring + options added to legend
This commit is contained in:
parent
6e279cbec2
commit
83ea38c2f3
2 changed files with 67 additions and 18 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue