Skip to content

Commit

Permalink
Splash resize (#2353)
Browse files Browse the repository at this point in the history
* resized default splash screens to maximum displayed size
* fix splash screen X,Y position to 0,16
  • Loading branch information
gullradriel authored Nov 9, 2024
1 parent b8a6459 commit 458a663
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/application/ui_navigation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -986,7 +986,7 @@ BMPView::BMPView(NavigationView& nav)

void BMPView::paint(Painter&) {
if (!portapack::display.drawBMP2({0, 0}, splash_dot_bmp))
portapack::display.drawBMP({(240 - 230) / 2, (320 - 50) / 2 - 10}, splash_bmp, (const uint8_t[]){0x29, 0x18, 0x16});
portapack::display.drawBMP({0, 16}, splash_bmp, (const uint8_t[]){0x29, 0x18, 0x16});
}

bool BMPView::on_touch(const TouchEvent event) {
Expand Down
Binary file modified sdcard/SPLASH/mayhem-default.bmp
Binary file not shown.
Binary file modified sdcard/SPLASH/mayhem-mt.bmp
Binary file not shown.

0 comments on commit 458a663

Please sign in to comment.