plugins: Credits: Fix logo sizes
Commit 1930ca8
repurposed the 'Logo' plugin's
logos, whose dimensions are different from those
used by show_logo, which was previously called
to display the logo.
Change-Id: I4d0c5f597dadfdadae244d895518bbcfefebb581
|
@ -973,6 +973,45 @@ rockboxlogo.91x32x1.bmp
|
|||
#endif
|
||||
#endif
|
||||
|
||||
/* Credits logo */
|
||||
#if (LCD_DEPTH == 1)
|
||||
#if (LCD_WIDTH == 160)
|
||||
creditslogo.160x53x1.bmp
|
||||
#elif (LCD_WIDTH == 128)
|
||||
creditslogo.128x42x1.bmp
|
||||
#else
|
||||
creditslogo.112x30x1.bmp
|
||||
#endif
|
||||
#elif (LCD_WIDTH == 96) && (LCD_DEPTH >= 16)
|
||||
creditslogo.96x30x16.bmp
|
||||
#elif (LCD_WIDTH == 128) && (LCD_DEPTH == 2)
|
||||
creditslogo.128x42x2.bmp
|
||||
#elif (LCD_WIDTH == 128) && (LCD_DEPTH >= 16)
|
||||
creditslogo.128x40x16.bmp
|
||||
#elif (LCD_WIDTH == 132) && (LCD_DEPTH >= 16)
|
||||
creditslogo.132x40x16.bmp
|
||||
#elif (LCD_WIDTH == 138) && (LCD_DEPTH >= 2)
|
||||
creditslogo.138x46x2.bmp
|
||||
#elif (LCD_WIDTH == 160) && (LCD_DEPTH == 2)
|
||||
creditslogo.160x53x2.bmp
|
||||
#elif (LCD_WIDTH == 320) && (LCD_DEPTH == 2)
|
||||
creditslogo.160x53x2.bmp
|
||||
#elif (LCD_WIDTH == 160) && (LCD_DEPTH >= 16)
|
||||
creditslogo.160x50x16.bmp
|
||||
#elif (LCD_WIDTH == 176) && (LCD_DEPTH >= 16)
|
||||
creditslogo.176x54x16.bmp
|
||||
#elif (LCD_WIDTH == 220) && (LCD_DEPTH >= 16)
|
||||
creditslogo.220x68x16.bmp
|
||||
#elif (LCD_WIDTH == 240) && (LCD_DEPTH >= 16)
|
||||
creditslogo.240x74x16.bmp
|
||||
#elif (LCD_WIDTH >= 320) && (LCD_WIDTH < 480) && (LCD_DEPTH >= 16)
|
||||
creditslogo.320x98x16.bmp
|
||||
#elif (LCD_WIDTH >= 480) && (LCD_WIDTH < 640) && (LCD_DEPTH >= 16)
|
||||
creditslogo.480x149x16.bmp
|
||||
#elif (LCD_WIDTH >= 640) && (LCD_DEPTH >= 16)
|
||||
creditslogo.640x198x16.bmp
|
||||
#endif
|
||||
|
||||
/* Pitch detector */
|
||||
/* The following preprocessor condition must match the condition */
|
||||
/* for pitch detector from plugins/SOURCES */
|
||||
|
|
BIN
apps/plugins/bitmaps/native/creditslogo.112x30x1.bmp
Normal file
After Width: | Height: | Size: 542 B |
BIN
apps/plugins/bitmaps/native/creditslogo.128x40x16.bmp
Normal file
After Width: | Height: | Size: 15 KiB |
BIN
apps/plugins/bitmaps/native/creditslogo.128x42x1.bmp
Normal file
After Width: | Height: | Size: 736 B |
BIN
apps/plugins/bitmaps/native/creditslogo.128x42x2.bmp
Normal file
After Width: | Height: | Size: 2.7 KiB |
BIN
apps/plugins/bitmaps/native/creditslogo.132x40x16.bmp
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
apps/plugins/bitmaps/native/creditslogo.138x46x2.bmp
Normal file
After Width: | Height: | Size: 3.3 KiB |
BIN
apps/plugins/bitmaps/native/creditslogo.160x50x16.bmp
Normal file
After Width: | Height: | Size: 24 KiB |
BIN
apps/plugins/bitmaps/native/creditslogo.160x53x1.bmp
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
apps/plugins/bitmaps/native/creditslogo.160x53x2.bmp
Normal file
After Width: | Height: | Size: 4.2 KiB |
BIN
apps/plugins/bitmaps/native/creditslogo.176x54x16.bmp
Normal file
After Width: | Height: | Size: 28 KiB |
BIN
apps/plugins/bitmaps/native/creditslogo.220x68x16.bmp
Normal file
After Width: | Height: | Size: 44 KiB |
BIN
apps/plugins/bitmaps/native/creditslogo.240x74x16.bmp
Normal file
After Width: | Height: | Size: 52 KiB |
BIN
apps/plugins/bitmaps/native/creditslogo.320x98x16.bmp
Normal file
After Width: | Height: | Size: 92 KiB |
BIN
apps/plugins/bitmaps/native/creditslogo.480x149x16.bmp
Normal file
After Width: | Height: | Size: 210 KiB |
BIN
apps/plugins/bitmaps/native/creditslogo.640x198x16.bmp
Normal file
After Width: | Height: | Size: 371 KiB |
BIN
apps/plugins/bitmaps/native/creditslogo.96x30x16.bmp
Normal file
After Width: | Height: | Size: 8.5 KiB |
|
@ -22,3 +22,10 @@ remote_rockboxlogo.91x32x1.bmp
|
|||
#elif (LCD_REMOTE_DEPTH == 2)
|
||||
remote_rockboxlogo.91x32x2.bmp
|
||||
#endif
|
||||
|
||||
*/ Credits logo */
|
||||
#if (LCD_REMOTE_DEPTH == 1)
|
||||
remote_creditslogo.128x42x1.bmp
|
||||
#elif (LCD_REMOTE_DEPTH == 2)
|
||||
remote_creditslogo.128x42x2.bmp
|
||||
#endif
|
||||
|
|
After Width: | Height: | Size: 736 B |
After Width: | Height: | Size: 2.7 KiB |
|
@ -24,16 +24,16 @@
|
|||
#ifdef HAVE_REMOTE_LCD
|
||||
#define REMOTE_WIDTH LCD_REMOTE_WIDTH
|
||||
#define REMOTE_HEIGHT LCD_REMOTE_HEIGHT
|
||||
#include "pluginbitmaps/remote_rockboxlogo.h"
|
||||
#define REMOTE_LOGO_WIDTH BMPWIDTH_remote_rockboxlogo
|
||||
#define REMOTE_LOGO_HEIGHT BMPHEIGHT_remote_rockboxlogo
|
||||
#define REMOTE_LOGO (const fb_remote_data*)remote_rockboxlogo
|
||||
#include "pluginbitmaps/remote_creditslogo.h"
|
||||
#define REMOTE_LOGO_WIDTH BMPWIDTH_remote_creditslogo
|
||||
#define REMOTE_LOGO_HEIGHT BMPHEIGHT_remote_creditslogo
|
||||
#define REMOTE_LOGO (const fb_remote_data*)remote_creditslogo
|
||||
#endif /* HAVE_REMOTE_LCD */
|
||||
|
||||
#define LOGO (const fb_data*)rockboxlogo
|
||||
#include "pluginbitmaps/rockboxlogo.h"
|
||||
#define LOGO_WIDTH BMPWIDTH_rockboxlogo
|
||||
#define LOGO_HEIGHT BMPHEIGHT_rockboxlogo
|
||||
#define LOGO (const fb_data*)creditslogo
|
||||
#include "pluginbitmaps/creditslogo.h"
|
||||
#define LOGO_WIDTH BMPWIDTH_creditslogo
|
||||
#define LOGO_HEIGHT BMPHEIGHT_creditslogo
|
||||
|
||||
static const char* const credits[] = {
|
||||
#include "credits.raw" /* generated list of names from docs/CREDITS */
|
||||
|
|