K1Guitar/device/LCD_ILI9341/Drv_ILI9341_Lcd_Image_SysSet.h

60 lines
1.7 KiB
C
Raw Normal View History

#ifndef __DRV_ILI9341_LCD_IMAGE_SYSSET_H
#define __DRV_ILI9341_LCD_IMAGE_SYSSET_H
#include "stdint.h"
/* MiSans-Medium strips, same blit path as the settings hub cards. */
typedef struct {
const unsigned char *data;
uint8_t w;
uint8_t h;
uint8_t adv;
int8_t bear;
uint8_t mode; /* 0 = 1-bit ink, 1 = RGB565 */
} SysSetGlyph;
extern const SysSetGlyph g_SysSet_Title;
extern const SysSetGlyph g_SysSet_LblVer;
extern const SysSetGlyph g_SysSet_LblUsb;
extern const SysSetGlyph g_SysSet_LblAuto;
extern const SysSetGlyph g_SysSet_LblRestore;
extern const SysSetGlyph g_SysSet_UsbUpdate;
extern const SysSetGlyph g_SysSet_UsbMidi;
extern const SysSetGlyph g_SysSet_Off;
extern const SysSetGlyph g_SysSet_D0;
extern const SysSetGlyph g_SysSet_D1;
extern const SysSetGlyph g_SysSet_D2;
extern const SysSetGlyph g_SysSet_D3;
extern const SysSetGlyph g_SysSet_D4;
extern const SysSetGlyph g_SysSet_D5;
extern const SysSetGlyph g_SysSet_D6;
extern const SysSetGlyph g_SysSet_D7;
extern const SysSetGlyph g_SysSet_D8;
extern const SysSetGlyph g_SysSet_D9;
extern const SysSetGlyph g_SysSet_Dot;
extern const SysSetGlyph g_SysSet_Back;
extern const SysSetGlyph g_SysSet_Chevron;
extern const SysSetGlyph g_SysSet_TriL;
extern const SysSetGlyph g_SysSet_TriR;
#define SYSSET_BACK_X 15
#define SYSSET_BACK_Y 14
#define SYSSET_CHEV_X 211
#define SYSSET_CHEV_Y 275
#define SYSSET_TRIL_X 96
#define SYSSET_TRIL_DY 22
#define SYSSET_TRIR_X 203
#define SYSSET_TRIR_DY 22
#define SYSSET_TITLE_Y 12
#define SYSSET_LABEL_DX 12
#define SYSSET_VAL_X 119
#define SYSSET_VAL_W 80
#define SYSSET_PILL_DX 140
#define SYSSET_PILL_DY 14
#define SYSSET_PILL_W 73
#define SYSSET_PILL_H 33
#define SYSSET_PILL_R 6
#define SYSSET_CARD_R 12
#endif