mirror of
https://github.com/portapack-mayhem/mayhem-firmware.git
synced 2025-12-05 17:22:09 +00:00
Merge pull request #424 from intoxsick/custom-splash-screen-from-sd
Custom splash screen from sd
This commit is contained in:
@@ -670,7 +670,8 @@ BMPView::BMPView(NavigationView& nav) {
|
||||
}
|
||||
|
||||
void BMPView::paint(Painter&) {
|
||||
portapack::display.drawBMP({(240 - 230) / 2, (320 - 50) / 2 - 10}, splash_bmp, false);
|
||||
if(!portapack::display.drawBMP2({ 0, 0 }, "splash.bmp"))
|
||||
portapack::display.drawBMP({(240 - 230) / 2, (320 - 50) / 2 - 10}, splash_bmp, false);
|
||||
}
|
||||
|
||||
/* NotImplementedView ****************************************************/
|
||||
|
||||
Reference in New Issue
Block a user