diff options
| author | Andy <andy@rockbox.org> | 2005-06-18 09:34:10 +0000 |
|---|---|---|
| committer | Andy <andy@rockbox.org> | 2005-06-18 09:34:10 +0000 |
| commit | 59b78940e83f4ef9b2b7404b6a405c94c0568bba (patch) | |
| tree | c85355f9088b140a476ba678f569c9ac0adf8671 | |
| parent | 9ed26cb16d91b3751a6d14b1e4c78de55e94a77d (diff) | |
| download | rockbox-59b78940e83f4ef9b2b7404b6a405c94c0568bba.zip rockbox-59b78940e83f4ef9b2b7404b6a405c94c0568bba.tar.gz rockbox-59b78940e83f4ef9b2b7404b6a405c94c0568bba.tar.bz2 rockbox-59b78940e83f4ef9b2b7404b6a405c94c0568bba.tar.xz | |
Center USB logo on all models
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6744 a1c6a512-1295-4272-9138-f99709370657
| -rw-r--r-- | apps/screens.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/screens.c b/apps/screens.c index 45a07ae..9b3e645 100644 --- a/apps/screens.c +++ b/apps/screens.c @@ -93,7 +93,8 @@ void usb_display_info(void) lcd_clear_display(); #ifdef HAVE_LCD_BITMAP - lcd_bitmap(usb_logo, 6, 16, BMPWIDTH_usb_logo, BMPHEIGHT_usb_logo, false); + /* Center bitmap on screen */ + lcd_bitmap(usb_logo, LCD_WIDTH/2-BMPWIDTH_usb_logo/2, LCD_HEIGHT/2-BMPHEIGHT_usb_logo/2, BMPWIDTH_usb_logo, BMPHEIGHT_usb_logo, false); status_draw(true); lcd_update(); #else |