mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-27 08:46:01 -04:00
Splash resize (#2353)
* resized default splash screens to maximum displayed size * fix splash screen X,Y position to 0,16
This commit is contained in:
parent
b8a64598ba
commit
458a6634bf
3 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 214 KiB After Width: | Height: | Size: 285 KiB |
Binary file not shown.
Before Width: | Height: | Size: 211 KiB After Width: | Height: | Size: 214 KiB |
Loading…
Add table
Add a link
Reference in a new issue