mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-13 09:47:58 -06:00
GCode Preview - Customizable extrusion role colors by editing 3DPreview.pm
This commit is contained in:
parent
3f006dc11a
commit
f4522cd2fc
6 changed files with 87 additions and 0 deletions
|
@ -279,6 +279,8 @@ public:
|
|||
const Color& get_extrusion_width_color(float width) const;
|
||||
const Color& get_extrusion_feedrate_color(float feedrate) const;
|
||||
|
||||
void set_extrusion_role_color(const std::string& role_name, float red, float green, float blue, float alpha);
|
||||
|
||||
std::string get_legend_title() const;
|
||||
LegendItemsList get_legend_items(const std::vector<float>& tool_colors) const;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue