mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-18 12:17:54 -06:00
Introduction of classes ColorRGB and ColorRGBA to unify color data definition and manipulation
(cherry picked from commit prusa3d/PrusaSlicer@d0bff2d996 )
This commit is contained in:
parent
36ffb18059
commit
28d0147d09
60 changed files with 1290 additions and 1174 deletions
|
@ -2,7 +2,7 @@
|
|||
#define slic3r_GUI_TickCode_hpp_
|
||||
|
||||
#include "libslic3r/CustomGCode.hpp"
|
||||
#include "IMSlider_Utils.hpp"
|
||||
#include "libslic3r/Color.hpp"
|
||||
#include <set>
|
||||
|
||||
namespace Slic3r {
|
||||
|
@ -29,7 +29,6 @@ class TickCodeInfo
|
|||
bool m_use_default_colors = false;
|
||||
|
||||
std::vector<std::string>* m_colors{ nullptr };// reference to IMSlider::m_extruder_colors
|
||||
ColorGenerator color_generator;
|
||||
|
||||
std::string get_color_for_tick(TickCode tick, Type type, const int extruder);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue