mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-21 07:41:09 -06:00
medical
This commit is contained in:
parent
549c98ac88
commit
117302ba22
12 changed files with 29 additions and 12 deletions
|
@ -14,7 +14,7 @@ namespace Slic3r { namespace GUI {
|
|||
class BitmapCache
|
||||
{
|
||||
public:
|
||||
BitmapCache();
|
||||
BitmapCache(bool medical);
|
||||
~BitmapCache() { clear(); }
|
||||
void clear();
|
||||
double scale() { return m_scale; }
|
||||
|
@ -42,6 +42,7 @@ public:
|
|||
static bool parse_color(const std::string& scolor, unsigned char* rgb_out);
|
||||
|
||||
private:
|
||||
bool m_medical;
|
||||
std::map<std::string, wxBitmap*> m_map;
|
||||
double m_gs = 0.2; // value, used for image.ConvertToGreyscale(m_gs, m_gs, m_gs)
|
||||
double m_scale = 1.0; // value, used for correct scaling of SVG icons on Retina display
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue