mirror of
https://github.com/pelgraine/Meck.git
synced 2026-08-10 02:32:44 +02:00
114 lines
3.9 KiB
C
114 lines
3.9 KiB
C
#pragma once
|
|
// =============================================================================
|
|
// HomeIcons -- 12x12 icon sprites for T5S3 home screen tiles
|
|
// MSB-first, 2 bytes per row (same format as emoji sprites)
|
|
// =============================================================================
|
|
|
|
#include <stdint.h>
|
|
#ifdef ESP32
|
|
#include <pgmspace.h>
|
|
#endif
|
|
|
|
#define HOME_ICON_W 12
|
|
#define HOME_ICON_H 12
|
|
|
|
// ✉️ Envelope (Messages)
|
|
static const uint8_t icon_envelope[] PROGMEM = {
|
|
0xFF,0xF0, 0x80,0x10, 0xC0,0x30, 0xA0,0x50, 0x90,0x90, 0x89,0x10,
|
|
0x86,0x10, 0x80,0x10, 0x80,0x10, 0x80,0x10, 0x80,0x10, 0xFF,0xF0,
|
|
};
|
|
|
|
// 👥 People (Contacts)
|
|
static const uint8_t icon_people[] PROGMEM = {
|
|
0x31,0x80, 0x7B,0xC0, 0x7B,0xC0, 0x31,0x80, 0x00,0x00, 0x7B,0xC0,
|
|
0xFD,0xE0, 0xFD,0xE0, 0x7B,0xC0, 0x00,0x00, 0x00,0x00, 0x00,0x00,
|
|
};
|
|
|
|
// 🎚 Sliders (Settings)
|
|
static const uint8_t icon_gear[] PROGMEM = {
|
|
0x22,0x20, 0x22,0x20, 0x72,0x70, 0x72,0x70, 0x27,0x20, 0x27,0x20,
|
|
0x22,0x20, 0x72,0x20, 0x72,0x70, 0x22,0x70, 0x22,0x20, 0x22,0x20,
|
|
};
|
|
|
|
// 📖 Book (Reader)
|
|
static const uint8_t icon_book[] PROGMEM = {
|
|
0x7F,0xC0, 0x41,0x40, 0x5D,0x40, 0x5D,0x40, 0x41,0x40, 0x5D,0x40,
|
|
0x5D,0x40, 0x41,0x40, 0x5D,0x40, 0x41,0x40, 0x7F,0xC0, 0x00,0x00,
|
|
};
|
|
|
|
// 🗒 Notepad (Notes)
|
|
static const uint8_t icon_notepad[] PROGMEM = {
|
|
0x3F,0xC0, 0x20,0x40, 0x2F,0x40, 0x20,0x40, 0x2F,0x40, 0x20,0x40,
|
|
0x2F,0x40, 0x20,0x40, 0x2F,0x40, 0x20,0x40, 0x3F,0xC0, 0x00,0x00,
|
|
};
|
|
|
|
// 🔍 Magnifying glass (Discover)
|
|
static const uint8_t icon_search[] PROGMEM = {
|
|
0x3C,0x00, 0x42,0x00, 0x81,0x00, 0x81,0x00, 0x81,0x00, 0x42,0x00,
|
|
0x3C,0x00, 0x03,0x00, 0x01,0x80, 0x00,0xC0, 0x00,0x40, 0x00,0x00,
|
|
};
|
|
|
|
// Mountain (Maps)
|
|
static const uint8_t icon_map[] PROGMEM = {
|
|
0x00,0x00, 0x00,0x00, 0x00,0x00, 0x08,0x00, 0x14,0x00, 0x22,0x40,
|
|
0x41,0xA0, 0x42,0x50, 0x84,0x30, 0xFF,0xF0, 0x00,0x00, 0x00,0x00,
|
|
};
|
|
|
|
// ➡ Right arrow (Trace Route)
|
|
static const uint8_t icon_trace[] PROGMEM = {
|
|
0x00,0x00, 0x00,0x00, 0x00,0x80, 0x00,0xC0, 0x00,0xE0, 0xFF,0xF0,
|
|
0xFF,0xF0, 0x00,0xE0, 0x00,0xC0, 0x00,0x80, 0x00,0x00, 0x00,0x00,
|
|
};
|
|
|
|
// 🎮 Gamepad (Games)
|
|
// ..########..
|
|
// .#........#.
|
|
// .#..#..##.#.
|
|
// .#.###....#.
|
|
// .#..#..##.#.
|
|
// .#........#.
|
|
// ..##....##..
|
|
// ...#....#...
|
|
// ...######...
|
|
static const uint8_t icon_gamepad[] PROGMEM = {
|
|
0x00,0x00, 0x3F,0xC0, 0x40,0x20, 0x49,0xA0, 0x5C,0x20, 0x49,0xA0,
|
|
0x40,0x20, 0x30,0xC0, 0x10,0x80, 0x1F,0x80, 0x00,0x00, 0x00,0x00,
|
|
};
|
|
|
|
// Star -- 12x12 home tile icon (Steps). MSB-first, 2 bytes per row.
|
|
static const uint8_t icon_star[] PROGMEM = {
|
|
0x06,0x00, 0x06,0x00, 0x0F,0x00, 0xFF,0xF0, 0x7F,0xE0, 0x3F,0xC0,
|
|
0x1F,0x80, 0x3F,0xC0, 0x39,0xC0, 0x70,0xE0, 0x60,0x60, 0x00,0x00,
|
|
};
|
|
|
|
// Headphones (Audiobooks) -- 12x12, MSB-first, 2 bytes per row
|
|
static const uint8_t icon_headphones[] PROGMEM = {
|
|
0x00,0x00, 0x1F,0x80, 0x20,0x40, 0x40,0x20, 0x40,0x20, 0x40,0x20,
|
|
0xE0,0x70, 0xE0,0x70, 0xE0,0x70, 0x60,0x60, 0x00,0x00, 0x00,0x00,
|
|
};
|
|
|
|
// Globe (Browser) -- 12x12, MSB-first, 2 bytes per row
|
|
static const uint8_t icon_globe[] PROGMEM = {
|
|
0x1F,0x80, 0x26,0x40, 0x46,0x20, 0x86,0x10, 0x86,0x10, 0xFF,0xF0,
|
|
0xFF,0xF0, 0x86,0x10, 0x86,0x10, 0x46,0x20, 0x26,0x40, 0x1F,0x80,
|
|
};
|
|
|
|
// Bell (Alarm) -- 12x12 home tile icon, MSB-first, 2 bytes per row
|
|
static const uint8_t icon_bell[] PROGMEM = {
|
|
0x06,0x00, 0x1F,0x80, 0x3F,0xC0, 0x3F,0xC0, 0x3F,0xC0, 0x3F,0xC0,
|
|
0x3F,0xC0, 0x7F,0xE0, 0xFF,0xF0, 0x00,0x00, 0x06,0x00, 0x00,0x00,
|
|
};
|
|
|
|
// Phone (SMS / dialler) -- 12x12, MSB-first, 2 bytes per row
|
|
static const uint8_t icon_phone[] PROGMEM = {
|
|
0x1F,0x80, 0x20,0x40, 0x20,0x40, 0x20,0x40, 0x20,0x40, 0x20,0x40,
|
|
0x20,0x40, 0x20,0x40, 0x20,0x40, 0x26,0x40, 0x20,0x40, 0x1F,0x80,
|
|
};
|
|
|
|
// 🔔 Bell -- 7x8 status bar indicator (alarm enabled)
|
|
// MSB-first, 1 byte per row
|
|
#define BELL_ICON_W 7
|
|
#define BELL_ICON_H 8
|
|
static const uint8_t icon_bell_small[] PROGMEM = {
|
|
0x10, 0x38, 0x7C, 0x7C, 0x7C, 0xFE, 0x00, 0x10,
|
|
}; |