ENH:hide the picture of the extruder

Change-Id: I7ca3e38570067ad769303d1d0d29d3bbde99a81e
This commit is contained in:
tao wang 2025-01-13 17:23:40 +08:00 committed by lane.wei
parent 8f5887735a
commit 15f33638a1
2 changed files with 15 additions and 15 deletions

View File

@ -360,7 +360,7 @@ FilamentStepIndicator::FilamentStepIndicator(wxWindow* parent, wxWindowID id, co
, bmp_ok(this, "step_ok", 12) , bmp_ok(this, "step_ok", 12)
{ {
static Slic3r::GUI::BitmapCache cache; static Slic3r::GUI::BitmapCache cache;
bmp_extruder = *cache.load_png("filament_load_extruder", FromDIP(300), FromDIP(200), false, false); //bmp_extruder = *cache.load_png("filament_load_extruder", FromDIP(300), FromDIP(200), false, false);
SetFont(Label::Body_12); SetFont(Label::Body_12);
font_tip = Label::Body_12; font_tip = Label::Body_12;
clr_bar = 0xE1E1E1; clr_bar = 0xE1E1E1;
@ -412,7 +412,7 @@ void FilamentStepIndicator::doRender(wxDC& dc)
dc.SetFont(::Label::Body_13); dc.SetFont(::Label::Body_13);
dc.DrawBitmap(bmp_extruder, FromDIP(250), circleY); //dc.DrawBitmap(bmp_extruder, FromDIP(250), circleY);
circleY += sz.y; circleY += sz.y;
int textWidth = size.x - radius * 5; int textWidth = size.x - radius * 5;

View File

@ -108,7 +108,7 @@ class FilamentStepIndicator : public StepCtrlBase
{ {
ScalableBitmap bmp_ok; ScalableBitmap bmp_ok;
wxBitmap bmp_extruder; //wxBitmap bmp_extruder;
wxString m_slot_information = ""; wxString m_slot_information = "";
public: public: