Compile time configurable menu logo

This commit is contained in:
Kostas Missos
2018-06-19 17:10:59 +03:00
parent 426551b9b7
commit 171e5ba30f
4 changed files with 50 additions and 10 deletions

View File

@@ -17,14 +17,11 @@
#ifndef _HEKATE_LOGOS_H_
#define _HEKATE_LOGOS_H_
#ifdef MENU_LOGO_ENABLE
//158 x 76 @24bpp RGB RAW positioned at 538 x 1180
#define X_HEKATE_LOGO 158
#define Y_HEKATE_LOGO 76
#define X_POS_HEKATE_LOGO 538
#define Y_POS_HEKATE_LOGO 1180
#define SZ_HEKATE_LOGO 36024
#define SZ_HEKATE_LOGOLZ 10993
static unsigned char Kc_HEKATE_LOGOlz[SZ_HEKATE_LOGOLZ] =
#define SZ_MENU_LOGO 36024
#define SZ_MENU_LOGOLZ 10993
static unsigned char Kc_MENU_LOGOlz[SZ_MENU_LOGOLZ] =
{
0xAE, 0x1B, 0x1B, 0x1B,
0x1B, 0xAE, 0x04, 0x04, 0xAE, 0x08, 0x08, 0xAE, 0x10, 0x10, 0xAE, 0x07, 0x07, 0x1C, 0x1B, 0x1B,
@@ -715,13 +712,14 @@ static unsigned char Kc_HEKATE_LOGOlz[SZ_HEKATE_LOGOLZ] =
0x03, 0xAE, 0x81, 0x07, 0xB5, 0x0E, 0xAE, 0x82, 0x44, 0xBA, 0x13, 0xAE, 0x0C, 0x8C, 0x27, 0xAE,
0x83, 0x4E, 0xBD, 0x6D, 0xAE, 0x0F, 0x8C, 0x4E, 0xAE, 0x83, 0x78, 0xC1, 0x74
} ;
#endif //MENU_LOGO_ENABLE
//68 x 192 @8bpp Grayscale RAW
#define X_BOOTLOGO 68
#define Y_BOOTLOGO 192
#define SZ_BOOTLOGO 13056
#define SZ_BOOTLOGO_LZ 7826
unsigned char BOOTLOGO_LZ[SZ_BOOTLOGO_LZ] =
static u8 BOOTLOGO_LZ[SZ_BOOTLOGO_LZ] =
{
0x00, 0x1B, 0x1B, 0x1B, 0x1B, 0x00, 0x04, 0x04, 0x00, 0x08, 0x08, 0x00, 0x10, 0x10, 0x00, 0x05,
0x05, 0x1C, 0x1E, 0x20, 0x1F, 0x1D, 0x00, 0x0B, 0x10, 0x1A, 0x00, 0x05, 0x05, 0x00, 0x05, 0x0B,