New icons for standalone gcode viewer
This commit is contained in:
parent
0d239520e6
commit
a5961ef981
5 changed files with 4 additions and 0 deletions
Binary file not shown.
Before (image error) Size: 111 KiB After (image error) Size: 115 KiB |
Binary file not shown.
Before ![]() (image error) Size: 5 KiB After ![]() (image error) Size: 7.5 KiB ![]() ![]() |
Binary file not shown.
Before ![]() (image error) Size: 12 KiB After ![]() (image error) Size: 15 KiB ![]() ![]() |
BIN
resources/icons/PrusaSlicer-gcodeviewer_32px.png
Normal file
BIN
resources/icons/PrusaSlicer-gcodeviewer_32px.png
Normal file
Binary file not shown.
After ![]() (image error) 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);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue