New icons for standalone gcode viewer
Before Width: | Height: | Size: 111 KiB After Width: | Height: | Size: 115 KiB |
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 7.5 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 15 KiB |
BIN
resources/icons/PrusaSlicer-gcodeviewer_32px.png
Normal file
After Width: | Height: | Size: 1.8 KiB |
@ -251,7 +251,11 @@ wxPanel* KBShortcutsDialog::create_header(wxWindow* parent, const wxFont& bold_f
|
|||||||
sizer->AddStretchSpacer();
|
sizer->AddStretchSpacer();
|
||||||
|
|
||||||
// logo
|
// logo
|
||||||
|
#if ENABLE_GCODE_VIEWER
|
||||||
|
m_logo_bmp = ScalableBitmap(this, wxGetApp().is_editor() ? "PrusaSlicer_32px.png" : "PrusaSlicer-gcodeviewer_32px.png", 32);
|
||||||
|
#else
|
||||||
m_logo_bmp = ScalableBitmap(this, "PrusaSlicer_32px.png", 32);
|
m_logo_bmp = ScalableBitmap(this, "PrusaSlicer_32px.png", 32);
|
||||||
|
#endif // ENABLE_GCODE_VIEWER
|
||||||
m_header_bitmap = new wxStaticBitmap(panel, wxID_ANY, m_logo_bmp.bmp());
|
m_header_bitmap = new wxStaticBitmap(panel, wxID_ANY, m_logo_bmp.bmp());
|
||||||
sizer->Add(m_header_bitmap, 0, wxEXPAND | wxLEFT | wxRIGHT, 10);
|
sizer->Add(m_header_bitmap, 0, wxEXPAND | wxLEFT | wxRIGHT, 10);
|
||||||
|
|
||||||
|