mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-14 17:35:34 -04:00
Added new custom splash.
- Custom splash now can be loaded from SD card.
This commit is contained in:
parent
0852bf89f0
commit
8edaa1e51e
3 changed files with 103 additions and 1 deletions
|
@ -634,7 +634,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.drawRAW({ 0, 0 }, "splash.data"))
|
||||
portapack::display.drawBMP({(240 - 230) / 2, (320 - 50) / 2 - 10}, splash_bmp, false);
|
||||
}
|
||||
|
||||
/* NotImplementedView ****************************************************/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue