mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-14 17:35:34 -04:00
Added BMP file support.
- Now can load splash.bmp!
This commit is contained in:
parent
7116ca3f91
commit
80f074b82f
3 changed files with 114 additions and 5 deletions
|
@ -634,8 +634,9 @@ BMPView::BMPView(NavigationView& nav) {
|
|||
}
|
||||
|
||||
void BMPView::paint(Painter&) {
|
||||
if(!portapack::display.drawRAW({ 0, 0 }, "splash.bin"))
|
||||
portapack::display.drawBMP({(240 - 230) / 2, (320 - 50) / 2 - 10}, splash_bmp, false);
|
||||
if(!portapack::display.drawBMP2({ 0, 0 }, "splash.bmp"))
|
||||
if(!portapack::display.drawRAW({ 0, 0 }, "splash.bin"))
|
||||
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