125 lines
4.5 KiB
C++
125 lines
4.5 KiB
C++
/*
|
|
* This file is part of the "bluetoothheater" distribution
|
|
* (https://gitlab.com/mrjones.id.au/bluetoothheater)
|
|
*
|
|
* Copyright (C) 2018 Ray Jones <ray@mrjones.id.au>
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
*
|
|
*/
|
|
|
|
#include <Arduino.h>
|
|
#include "Icons.h"
|
|
|
|
// 'Thermometer', 8x50px
|
|
const unsigned char thermometerBitmap [] PROGMEM = {
|
|
0x00, 0x18, 0x24, 0x24, 0x24, 0x24, 0x24, 0x26, 0x24, 0x24, 0x24, 0x24, 0x24, 0x24, 0x24, 0x24,
|
|
0x24, 0x24, 0x24, 0x24, 0x24, 0x24, 0x26, 0x24, 0x24, 0x24, 0x24, 0x24, 0x24, 0x24, 0x24, 0x24,
|
|
0x24, 0x24, 0x24, 0x24, 0x24, 0x26, 0x24, 0x24, 0x24, 0x24, 0x3c, 0x7e, 0xff, 0xff, 0xff, 0xff,
|
|
0x7e, 0x3c
|
|
};
|
|
|
|
// 'ThermoPtr', 3x5px
|
|
const unsigned char thermoPtr [] PROGMEM = {
|
|
0x80, 0xc0, 0xe0, 0xc0, 0x80
|
|
};
|
|
|
|
// 'Bluetooth icon', 6x11px
|
|
const unsigned char BTicon [] PROGMEM = {
|
|
0x20, 0x30, 0x28, 0xa4, 0x68, 0x30, 0x68, 0xa4, 0x28, 0x30, 0x20,
|
|
};
|
|
|
|
// 'wifiIcon', 13x10px
|
|
const unsigned char wifiIcon [] PROGMEM = {
|
|
0x1f, 0xc0, 0x20, 0x20, 0x40, 0x10, 0x8f, 0x88, 0x10, 0x40, 0x20, 0x20,
|
|
0x07, 0x00, 0x08, 0x80, 0x00, 0x00, 0x02, 0x00
|
|
};
|
|
|
|
// 'wifiInIcon, 5x5px
|
|
const unsigned char wifiInIcon [] PROGMEM = {
|
|
0x70, 0x70, 0xf8, 0x70, 0x20
|
|
};
|
|
|
|
// 'wifiOutIcon, 5x5px
|
|
const unsigned char wifiOutIcon [] PROGMEM = {
|
|
0x20, 0x70, 0xf8, 0x70, 0x70
|
|
};
|
|
|
|
// 'BatteryIcon', 15x10px
|
|
const unsigned char BatteryIcon [] PROGMEM = {
|
|
0x30, 0x18, 0xff, 0xfe, 0x80, 0x02, 0xb6, 0xda, 0xb6, 0xda, 0xb6, 0xda, 0xb6, 0xda, 0xb6, 0xda,
|
|
0x80, 0x02, 0xff, 0xfe
|
|
};
|
|
|
|
// 'GlowPlugIcon', 16x9px
|
|
const unsigned char GlowPlugIcon [] PROGMEM = {
|
|
0x71, 0xc7, 0x0e, 0x38, 0x14, 0x14, 0x12, 0x24, 0x11, 0x44, 0x11, 0x44, 0x11, 0x44, 0x0a, 0x28,
|
|
0x0e, 0x38
|
|
};
|
|
|
|
// 'HeatRise', 17x2px
|
|
const unsigned char GlowHeatIcon [] PROGMEM = {
|
|
0x80, 0x00, 0x80, 0x40, 0x01, 0x00
|
|
};
|
|
|
|
// 'Fan3_1a', 16x16px
|
|
const unsigned char FanIcon1 [] PROGMEM = {
|
|
0x03, 0xc0, 0x04, 0x20, 0x04, 0x20, 0x04, 0x20, 0x04, 0x20, 0x03, 0xc0, 0x07, 0xe0, 0x06, 0x60,
|
|
0x7e, 0x7e, 0x87, 0xe1, 0x87, 0xe1, 0x84, 0x21, 0x84, 0x21, 0x78, 0x1e, 0x00, 0x00, 0x00, 0x00
|
|
};
|
|
// 'Fan3_2a', 16x16px
|
|
const unsigned char FanIcon2 [] PROGMEM = {
|
|
0x00, 0x78, 0x00, 0x84, 0x00, 0x84, 0x00, 0x84, 0x00, 0x84, 0x7b, 0xf8, 0x87, 0xe0, 0x86, 0x60,
|
|
0x86, 0x60, 0x87, 0xe0, 0x7b, 0xf8, 0x00, 0x84, 0x00, 0x84, 0x00, 0x84, 0x00, 0x84, 0x00, 0x78
|
|
};
|
|
// 'Fan3_3a', 16x16px
|
|
const unsigned char FanIcon3 [] PROGMEM = {
|
|
0x00, 0x00, 0x00, 0x00, 0x78, 0x1e, 0x84, 0x21, 0x84, 0x21, 0x87, 0xe1, 0x87, 0xe1, 0x7e, 0x7e,
|
|
0x06, 0x60, 0x07, 0xe0, 0x03, 0xc0, 0x04, 0x20, 0x04, 0x20, 0x04, 0x20, 0x04, 0x20, 0x03, 0xc0
|
|
};
|
|
// 'Fan3_4a', 16x16px
|
|
const unsigned char FanIcon4 [] PROGMEM = {
|
|
0x1e, 0x00, 0x21, 0x00, 0x21, 0x00, 0x21, 0x00, 0x21, 0x00, 0x1f, 0xde, 0x07, 0xe1, 0x06, 0x61,
|
|
0x06, 0x61, 0x07, 0xe1, 0x1f, 0xde, 0x21, 0x00, 0x21, 0x00, 0x21, 0x00, 0x21, 0x00, 0x1e, 0x00
|
|
};
|
|
|
|
|
|
// 'FuelIcon', 7x12px
|
|
const unsigned char FuelIcon [] PROGMEM = {
|
|
0x10, 0x10, 0x38, 0x38, 0x7c, 0x7c, 0xfe, 0xfe, 0xfe, 0xfe, 0x7c, 0x38
|
|
};
|
|
|
|
// 'Target', 13x13px
|
|
const unsigned char TargetIcon [] PROGMEM = {
|
|
0x0f, 0x80, 0x10, 0x40, 0x20, 0x20, 0x47, 0x10, 0x88, 0x88, 0x92, 0x48, 0x97, 0x48, 0x92, 0x48,
|
|
0x88, 0x88, 0x47, 0x10, 0x20, 0x20, 0x10, 0x40, 0x0f, 0x80
|
|
};
|
|
|
|
// 'repeat', 15x15px
|
|
const unsigned char repeatIcon [] PROGMEM = {
|
|
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
|
|
0x00, 0x02, 0x00, 0x02, 0xf0, 0x04, 0xe0, 0x04, 0xe0, 0x08, 0x98, 0x30, 0x07, 0xc0
|
|
};
|
|
|
|
// 'timerID1', 15x15px
|
|
const unsigned char timerID1Icon [] PROGMEM = {
|
|
0x00, 0x00, 0x00, 0x00, 0x07, 0xc0, 0x09, 0x20, 0x11, 0x10, 0x21, 0x08, 0x2d, 0x08, 0x25, 0xe8,
|
|
0x24, 0x08, 0x24, 0x08, 0x10, 0x10, 0x08, 0x20, 0x07, 0xc0, 0x00, 0x00, 0x00, 0x00
|
|
};
|
|
|
|
// 'timerID2', 15x15px
|
|
const unsigned char timerID2Icon [] PROGMEM = {
|
|
0x00, 0x00, 0x00, 0x00, 0x07, 0xc0, 0x09, 0x20, 0x11, 0x10, 0x21, 0x08, 0x2d, 0x08, 0x25, 0xe8,
|
|
0x28, 0x08, 0x2c, 0x08, 0x10, 0x10, 0x08, 0x20, 0x07, 0xc0, 0x00, 0x00, 0x00, 0x00
|
|
};
|