Splash screen for gcode viewer

This commit is contained in:
enricoturri1966 2020-09-08 11:55:21 +02:00
parent 93ed04ef7b
commit 2443b7aaea
2 changed files with 1 additions and 1 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 133 KiB

View File

@ -562,7 +562,7 @@ bool GUI_App::on_init_inner()
wxInitAllImageHandlers(); wxInitAllImageHandlers();
wxBitmap bitmap = create_scaled_bitmap("prusa_slicer_logo", nullptr, 400); wxBitmap bitmap = create_scaled_bitmap("prusa_slicer_logo", nullptr, 400);
wxBitmap bmp(from_u8(var("splashscreen.jpg")), wxBITMAP_TYPE_JPEG); wxBitmap bmp(is_editor() ? from_u8(var("splashscreen.jpg")) : from_u8(var("splashscreen-gcodeviewer.jpg")), wxBITMAP_TYPE_JPEG);
DecorateSplashScreen(bmp); DecorateSplashScreen(bmp);