mirror of
https://github.com/meshtastic/firmware.git
synced 2026-01-28 12:42:00 +00:00
New Feature
Iconed Screen navigation bar.
This commit is contained in:
@@ -256,6 +256,148 @@ static const unsigned char mail[] PROGMEM = {
|
||||
0b11111111, 0b00 // Bottom line
|
||||
};
|
||||
|
||||
// 📬 Mail / Message
|
||||
const uint8_t icon_mail[] PROGMEM = {
|
||||
0b11111111, // ████████ top border
|
||||
0b10000001, // █ █ sides
|
||||
0b11000011, // ██ ██ diagonal
|
||||
0b10100101, // █ █ █ █ inner M
|
||||
0b10011001, // █ ██ █ inner M
|
||||
0b10000001, // █ █ sides
|
||||
0b11111111, // ████████ bottom
|
||||
0b00000000 // (padding)
|
||||
};
|
||||
|
||||
// 📍 GPS Screen / Location Pin
|
||||
const uint8_t icon_compass[] PROGMEM = {
|
||||
0b00011000, // ██
|
||||
0b00111100, // ████
|
||||
0b01100110, // ██ ██
|
||||
0b01000010, // █ █
|
||||
0b01000010, // █ █
|
||||
0b00111100, // ████
|
||||
0b00011000, // ██
|
||||
0b00010000 // █
|
||||
};
|
||||
|
||||
const uint8_t icon_radio[] PROGMEM = {
|
||||
0b00111000, // ░███░
|
||||
0b01000100, // █░░░█
|
||||
0b10000010, // █░░░░█
|
||||
0b00010000, // ░░█░
|
||||
0b00010000, // ░░█░
|
||||
0b00111000, // ░███░
|
||||
0b01111100, // █████
|
||||
0b00000000 // ░░░░░
|
||||
};
|
||||
|
||||
// 🪙 Memory Drum Icon (Barrel shape with cuts on the sides)
|
||||
const uint8_t icon_memory[] PROGMEM = {
|
||||
0b00111100, // ░░████░░
|
||||
0b01111110, // ░██████░
|
||||
0b11100111, // ███░░███
|
||||
0b11100111, // ███░░███
|
||||
0b11100111, // ███░░███
|
||||
0b11100111, // ███░░███
|
||||
0b01111110, // ░██████░
|
||||
0b00111100 // ░░████░░
|
||||
};
|
||||
|
||||
// 🌐 Wi-Fi
|
||||
const uint8_t icon_wifi[] PROGMEM = {
|
||||
0b00000000,
|
||||
0b00011000,
|
||||
0b00111100,
|
||||
0b01111110,
|
||||
0b11011011,
|
||||
0b00011000,
|
||||
0b00011000,
|
||||
0b00000000
|
||||
};
|
||||
|
||||
// 📄 Paper/List Icon (for DynamicNodeListScreen)
|
||||
const uint8_t icon_nodes[] PROGMEM = {
|
||||
0b11111111, // Top edge of paper
|
||||
0b10000001, // Left & right margin
|
||||
0b10101001, // ••• line
|
||||
0b10000001, //
|
||||
0b10101001, // ••• line
|
||||
0b10000001, //
|
||||
0b11111111, // Bottom edge
|
||||
0b00000000 //
|
||||
};
|
||||
|
||||
// ➤ Chevron Triangle Arrow Icon (8x8)
|
||||
const uint8_t icon_list[] PROGMEM = {
|
||||
0b00011000, // ░░██░░
|
||||
0b00011100, // ░░███░
|
||||
0b00011110, // ░░████
|
||||
0b11111111, // ██████
|
||||
0b00011110, // ░░████
|
||||
0b00011100, // ░░███░
|
||||
0b00011000, // ░░██░░
|
||||
0b00000000 // ░░░░░░
|
||||
};
|
||||
|
||||
// 📶 Signal Bars Icon (left to right, small to large with spacing)
|
||||
const uint8_t icon_signal[] PROGMEM = {
|
||||
0b00000000, // ░░░░░░░
|
||||
0b10000000, // ░░░░░░░
|
||||
0b10100000, // ░░░░█░█
|
||||
0b10100000, // ░░░░█░█
|
||||
0b10101000, // ░░█░█░█
|
||||
0b10101000, // ░░█░█░█
|
||||
0b10101010, // █░█░█░█
|
||||
0b11111111 // ███████
|
||||
};
|
||||
|
||||
// ↔️ Distance / Measurement Icon (double-ended arrow)
|
||||
const uint8_t icon_distance[] PROGMEM = {
|
||||
0b00000000, // ░░░░░░░░
|
||||
0b10000001, // █░░░░░█ arrowheads
|
||||
0b01000010, // ░█░░░█░
|
||||
0b00100100, // ░░█░█░░
|
||||
0b00011000, // ░░░██░░ center
|
||||
0b00100100, // ░░█░█░░
|
||||
0b01000010, // ░█░░░█░
|
||||
0b10000001 // █░░░░░█
|
||||
};
|
||||
|
||||
// ⚠️ Error / Fault
|
||||
const uint8_t icon_error[] PROGMEM = {
|
||||
0b00011000, // ░░░██░░░
|
||||
0b00011000, // ░░░██░░░
|
||||
0b00011000, // ░░░██░░░
|
||||
0b00011000, // ░░░██░░░
|
||||
0b00000000, // ░░░░░░░░
|
||||
0b00011000, // ░░░██░░░
|
||||
0b00000000, // ░░░░░░░░
|
||||
0b00000000 // ░░░░░░░░
|
||||
};
|
||||
|
||||
// 🏠 Optimized Home Icon (8x8)
|
||||
const uint8_t icon_home[] PROGMEM = {
|
||||
0b00011000, // ██
|
||||
0b00111100, // ████
|
||||
0b01111110, // ██████
|
||||
0b11111111, // ███████
|
||||
0b11000011, // ██ ██
|
||||
0b11011011, // ██ ██ ██
|
||||
0b11011011, // ██ ██ ██
|
||||
0b11111111 // ███████
|
||||
};
|
||||
|
||||
// 🔧 Generic module (gear-like shape)
|
||||
const uint8_t icon_module[] PROGMEM = {
|
||||
0b00011000, // ░░░██░░░
|
||||
0b00111100, // ░░████░░
|
||||
0b01111110, // ░██████░
|
||||
0b11011011, // ██░██░██
|
||||
0b11011011, // ██░██░██
|
||||
0b01111110, // ░██████░
|
||||
0b00111100, // ░░████░░
|
||||
0b00011000 // ░░░██░░░
|
||||
};
|
||||
#endif
|
||||
|
||||
#include "img/icon.xbm"
|
||||
|
||||
Reference in New Issue
Block a user