Commit 8554978d authored by Theodor-Adrian Stana's avatar Theodor-Adrian Stana Committed by Theodor-Adrian Stana

Added tracking icon when option is set

parent 70835247
/*
* Copyright (C) 2014 Julian Lewis
*
* 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, you may find one here:
* http://www.gnu.org/licenses/gpl-3.0-standalone.html
* or you may search the http://www.gnu.org website for the version 3 license,
* or you may write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <bitmaps.h>
static const uint8_t comp_circle_data[] = {
0x20,
0x8d,
0x3d,
static const uint8_t settings_icon_data[] = {
0x02,
0x81,
0x0d,
0x81,
0x0c,
0x81,
0x08,
0x80,
0x01,
0x82,
0x08,
0x85,
0x09,
0x85,
0x0c,
0x82,
0x0c,
0x82,
0x0c,
0x82,
0x0c,
0x85,
0x09,
0x85,
0x08,
0x82,
0x01,
0x80,
0x08,
0x81,
0x0c,
0x81,
0x0d,
0x81,
0x02};
const struct rle_bitmap settings_icon = { 15, 15, settings_icon_data };
static const uint8_t comp_circle2_data[] = {
0x33,
0x8f,
0x61,
0x86,
0x0d,
0x86,
0x57,
0x84,
0x0b,
0x19,
0x84,
0x36,
0x50,
0x83,
0x13,
0x21,
0x83,
0x30,
0x4b,
0x82,
0x27,
0x82,
0x47,
0x82,
0x2b,
0x82,
0x42,
0x83,
0x19,
0x2f,
0x83,
0x2b,
0x3e,
0x81,
0x35,
0x81,
0x3b,
0x82,
0x1f,
0x37,
0x82,
0x27,
0x37,
0x82,
0x23,
0x3b,
0x82,
0x24,
0x34,
0x81,
0x27,
0x3f,
0x81,
0x21,
0x31,
0x82,
0x29,
0x41,
0x82,
0x2e,
0x81,
0x45,
0x81,
0x2c,
0x81,
0x47,
0x81,
0x2a,
0x81,
0x49,
0x81,
0x27,
0x82,
0x4b,
0x82,
0x24,
0x81,
0x4f,
0x81,
0x22,
0x81,
0x51,
0x81,
0x20,
0x81,
0x53,
0x81,
0x1e,
0x81,
0x2d,
0x55,
0x81,
0x1d,
0x80,
0x57,
0x80,
0x1c,
0x81,
0x2f,
0x57,
0x81,
0x1a,
0x81,
0x31,
0x59,
0x81,
0x18,
0x81,
0x33,
0x5b,
0x81,
0x16,
0x81,
0x35,
0x5d,
0x81,
0x15,
0x80,
0x5f,
0x80,
0x14,
0x81,
0x37,
0x5f,
0x81,
0x12,
0x81,
0x39,
0x61,
0x81,
0x11,
0x80,
0x63,
0x80,
0x10,
0x81,
0x3b,
0x63,
0x81,
0x0f,
0x80,
0x65,
0x80,
0x0e,
0x81,
0x3d,
0x65,
0x81,
0x0d,
0x80,
0x3f,
0x80,
0x0c,
0x81,
0x3f,
0x67,
0x81,
0x0b,
0x80,
0x69,
0x80,
0x0b,
0x80,
0x69,
0x80,
0x0a,
0x81,
0x41,
0x69,
0x81,
0x09,
0x80,
0x43,
0x6b,
0x80,
0x08,
0x81,
0x43,
0x6b,
0x81,
0x07,
0x80,
0x45,
0x6d,
0x80,
0x06,
0x81,
0x45,
0x6d,
0x81,
0x05,
0x80,
0x47,
0x6f,
0x80,
0x05,
0x80,
0x47,
0x6f,
0x80,
0x04,
0x81,
0x47,
0x6f,
0x81,
0x03,
0x80,
0x49,
0x71,
0x80,
0x03,
0x80,
0x49,
0x71,
0x80,
0x03,
0x80,
0x71,
0x80,
0x02,
0x81,
0x49,
0x71,
0x81,
0x01,
0x80,
0x4b,
0x73,
0x80,
0x01,
0x80,
0x4b,
0x73,
0x80,
0x01,
0x80,
0x4b,
0x73,
0x80,
0x01,
0x80,
0x73,
0x80,
0x01,
0x80,
0x73,
0x80,
0x00,
0x81,
0x4b,
0x73,
0x82,
0x4d,
0x75,
0x81,
0x4d,
0x75,
0x81,
0x4d,
0x75,
0x81,
0x4d,
0x75,
0x81,
0x4d,
0x75,
0x81,
0x4d,
0x75,
0x81,
0x4d,
0x75,
0x81,
0x4d,
0x75,
0x81,
0x4d,
0x75,
0x81,
0x4d,
0x75,
0x81,
0x4d,
0x75,
0x81,
0x4d,
0x75,
0x81,
0x75,
0x81,
0x75,
0x82,
0x4b,
0x73,
0x81,
0x00,
0x80,
0x4b,
0x73,
0x80,
0x01,
0x80,
0x4b,
0x73,
0x80,
0x01,
0x80,
0x4b,
0x73,
0x80,
0x01,
0x80,
0x73,
0x80,
0x01,
0x80,
0x73,
0x80,
0x01,
0x81,
0x49,
0x71,
0x81,
0x02,
0x80,
0x49,
0x71,
0x80,
0x03,
0x80,
0x49,
0x71,
0x80,
0x03,
0x80,
0x71,
0x80,
0x03,
0x81,
0x47,
0x6f,
0x81,
0x04,
0x80,
0x47,
0x6f,
0x80,
0x05,
0x80,
0x47,
0x6f,
0x80,
0x05,
0x81,
0x45,
0x6d,
0x81,
0x06,
0x80,
0x45,
0x6d,
0x80,
0x07,
0x81,
0x43,
0x6b,
0x81,
0x08,
0x80,
0x43,
0x6b,
0x80,
0x09,
0x81,
0x41,
0x69,
0x81,
0x0a,
0x80,
0x69,
0x80,
0x0b,
0x80,
0x69,
0x80,
0x0b,
0x81,
0x3f,
0x67,
0x81,
0x0c,
0x80,
0x3f,
0x80,
0x0d,
0x81,
0x3d,
0x65,
0x81,
0x0e,
0x80,
0x65,
0x80,
0x0f,
0x81,
0x3b,
0x63,
0x81,
0x10,
0x80,
0x63,
0x80,
0x11,
0x81,
0x39,
0x61,
0x81,
0x12,
0x81,
0x37,
0x5f,
0x81,
0x14,
0x80,
0x5f,
0x80,
0x15,
0x81,
0x35,
0x5d,
0x81,
0x16,
0x81,
0x33,
0x5b,
0x81,
0x18,
0x81,
0x31,
0x59,
0x81,
0x1a,
0x81,
0x2f,
0x57,
0x81,
0x1c,
0x80,
0x57,
0x80,
0x1d,
0x81,
0x2d,
0x55,
0x81,
0x1e,
0x82,
0x29,
0x82,
0x21,
0x81,
0x27,
0x53,
0x81,
0x20,
0x81,
0x51,
0x81,
0x22,
0x81,
0x4f,
0x81,
0x24,
0x82,
0x23,
0x4b,
0x82,
0x27,
0x81,
0x49,
0x81,
0x2a,
0x81,
0x47,
0x81,
0x2c,
0x81,
0x45,
0x81,
0x2e,
0x82,
0x1f,
0x41,
0x82,
0x2b,
0x31,
0x81,
0x3f,
0x81,
0x34,
0x82,
0x3b,
0x82,
0x37,
0x82,
0x37,
0x82,
0x3b,
0x81,
0x35,
0x81,
0x3e,
0x83,
0x19,
0x2f,
0x83,
0x30,
0x42,
0x82,
0x2b,
0x82,
0x47,
0x82,
0x27,
0x82,
0x4b,
0x83,
0x13,
0x21,
0x83,
0x36,
0x50,
0x84,
0x0b,
0x19,
0x84,
0x3d,
0x8d,
0x20};
const struct rle_bitmap comp_circle = { 80, 80, comp_circle_data };
static const uint8_t gps_disconnected_data[] = {
0x0a,
0x80,
0x57,
0x86,
0x0d,
0x80,
0x0b,
0x84,
0x03,
0x82,
0x04,
0x80,
0x86,
0x61,
0x8f,
0x33};
const struct rle_bitmap comp_circle2 = { 120, 120, comp_circle2_data };
static const uint8_t game_ico_data[] = {
0x8f,
0x0c,
0x81,
0x0c,
0x81,
0x0c,
0x81,
0x0c,
0x81,
0x02,
0x83,
0x05,
0x81,
0x01,
0x85,
0x04,
0x81,
0x06,
0x80,
0x00,
0x87,
0x03,
0x81,
0x00,
0x87,
0x03,
0x81,
0x00,
0x87,
0x03,
0x81,
0x06,
0x82,
0x00,
0x87,
0x03,
0x81,
0x01,
0x85,
0x04,
0x81,
0x02,
0x83,
0x06,
0x82,
0x05,
0x81,
0x0c,
0x8f};
const struct rle_bitmap game_ico = { 15, 15, game_ico_data };
static const uint8_t tracking_data[] = {
0x80,
0x02,
0x80,
0x0a,
0x80,
0x00,
0x80,
0x0c,
0x8a,
0x02,
0x80,
0x00,
0x80,
0x07,
0x83,
0x01,
0x80,
0x01,
0x80,
0x05,
0x83,
0x03,
0x02,
0x80,
0x06,
0x84,
0x80,
0x0b,
0x80,
0x00,
0x81,
0x80,
0x00,
0x80,
0x0a,
0x82,
0x07,
0x85,
0x0a,
0x81,
0x09,
0x84,
0x08,
0x86,
0x05};
const struct rle_bitmap gps_disconnected = { 15, 15, gps_disconnected_data };
static const uint8_t comp_circle3_data[] = {
0x33,
0x90,
0x62,
0x9a,
0x59,
0x89,
0x06,
0x80,
0x06,
0x89,
0x52,
0x87,
0x0b,
0x02,
0x80,
0x0b,
0x87,
0x4c,
0x86,
0x0f,
0x00,
0x80,
0x0f,
0x86,
0x47,
0x85,
0x12,
0x07,
0x80,
0x12,
0x85,
0x43,
0x84,
0x15,
0x01,
0x80,
0x15,
0x84,
0x3f,
0x84,
0x17,
0x02,
0x81,
0x02,
0x80,
0x17,
0x84,
0x3b,
0x84,
0x19,
0x01,
0x80,
0x19,
0x84,
0x38,
0x83,
0x1b,
0x07,
0x80,
0x1b,
0x83,
0x35,
0x83,
0x1d,
0x00,
0x80,
0x1d,
0x83,
0x32,
0x83,
0x1e,
0x02,
0x80,
0x1e,
0x83,
0x2f,
0x83,
0x20,
0x08,
0x85,
0x07,
0x80,
0x20,
0x83,
0x2c,
0x83,
0x21,
0x00,
0x80,
0x21,
0x83,
0x2a,
0x83,
0x22,
0x0a,
0x80,
0x22,
0x83,
0x28,
0x82,
0x24,
0x02,
0x80,
0x24,
0x82,
0x26,
0x09};
const struct rle_bitmap tracking = { 15, 15, tracking_data };
static const uint8_t comp_arrow_data[] = {
0x05,
0x82,
0x25,
0x80,
0x25,
0x0b,
0x82,
0x24,
0x0b,
0x82,
0x26,
0x0a,
0x84,
0x09,
0x84,
0x09,
0x84,
0x09,
0x84,
0x09,
0x84,
0x09,
0x84,
0x08,
0x86,
0x07,
0x86,
0x07,
0x86,
0x07,
0x86,
0x07,
0x86,
0x07,
0x86,
0x06,
0x88,
0x05,
0x88,
0x05,
0x88,
0x05,
0x88,
0x05,
0x88,
0x05,
0x88,
0x04,
0x8a,
0x03,
0x8a,
0x03,
0x8a,
0x03,
0x8a,
0x03,
0x8a,
0x03,
0x8a,
0x02,
0x8c,
0x01,
0x8c,
0x01,
0x8c,
0x01,
0x8c,
0x01,
0x8c,
0x01,
0x8c,
0x00,
0xad,
0x0c,
0x81,
0x0c,
0x80,
0x26,
0x82,
0x22,
0x82,
0x27,
0x00,
0x80,
0x27,
0x82,
0x20,
0x83,
0x27,
0x0a,
0x80,
0x27,
0x83,
0x1e,
0x82,
0x01,
0x80,
0x26,
0x0a,
0x80,
0x26,
0x01,
0x80,
0x0a,
0x80,
0x01,
0x82,
0x1c,
0x82,
0x03,
0x80,
0x25,
0x0a,
0x80,
0x25,
0x01,
0x80,
0x03,
0x82,
0x1a,
0x82,
0x05,
0x0a,
0x80,
0x24,
0x01,
0x80,
0x24,
0x0a,
0x80,
0x05,
0x82,
0x18,
0x82,
0x07,
0x02,
0x80,
0x23,
0x08,
0x80,
0x23,
0x03,
0x80,
0x07,
0x82,
0x17,
0x82,
0x08,
0x80,
0x22,
0x03,
0x80,
0x22,
0x08,
0x80,
0x03,
0x80,
0x08,
0x82,
0x16,
0x82,
0x0a,
0x80,
0x21,
0x03,
0x80,
0x21,
0x08,
0x80,
0x0a,
0x82,
0x14,
0x82,
0x0c,
0x03,
0x80,
0x20,
0x08,
0x80,
0x20,
0x04,
0x80,
0x0c,
0x82,
0x13,
0x81,
0x0e,
0x06,
0x80,
0x1f,
0x05,
0x80,
0x1f,
0x06,
0x80,
0x0e,
0x81,
0x12,
0x82,
0x0f,
0x05,
0x80,
0x1e,
0x06,
0x80,
0x1e,
0x05,
0x80,
0x0f,
0x82,
0x10,
0x82,
0x11,
0x06,
0x80,
0x1d,
0x05,
0x80,
0x1d,
0x06,
0x80,
0x11,
0x82,
0x0f,
0x81,
0x13,
0x80,
0x1c,
0x80,
0x1c,
0x06,
0x80,
0x13,
0x81,
0x0e,
0x82,
0x14,
0x04,
0x80,
0x1b,
0x07,
0x80,
0x1b,
0x04,
0x80,
0x14,
0x82,
0x0d,
0x81,
0x16,
0x07,
0x80,
0x1a,
0x04,
0x80,
0x1a,
0x07,
0x80,
0x16,
0x81,
0x0c,
0x82,
0x17,
0x04,
0x80,
0x19,
0x07,
0x80,
0x19,
0x04,
0x80,
0x17,
0x82,
0x0b,
0x81,
0x19,
0x07,
0x80,
0x18,
0x04,
0x80,
0x18,
0x08,
0x80,
0x19,
0x81,
0x0a,
0x82,
0x1a,
0x02,
0x80,
0x17,
0x09,
0x80,
0x17,
0x02,
0x80,
0x1a,
0x82,
0x09,
0x81,
0x1c,
0x80,
0x16,
0x02,
0x80,
0x16,
0x09,
0x80,
0x1c,
0x81,
0x08,
0x82,
0x1d,
0x02,
0x80,
0x15,
0x09,
0x80,
0x15,
0x02,
0x80,
0x1d,
0x82,
0x07,
0x81,
0x1f,
0x09,
0x80,
0x14,
0x02,
0x80,
0x14,
0x0a,
0x80,
0x1f,
0x81,
0x07,
0x81,
0x20,
0x00,
0x80,
0x13,
0x0b,
0x80,
0x13,
0x00,
0x80,
0x20,
0x81,
0x06,
0x0b,
0x82,
0x21,
0x80,
0x12,
0x80,
0x12,
0x05};
const struct rle_bitmap comp_arrow = { 15, 70, comp_arrow_data };
static const uint8_t date_icon_data[] = {
0x10,
0x8a,
0x03,
0x80,
0x21,
0x82,
0x05,
0x81,
0x23,
0x08,
0x80,
0x11,
0x03,
0x8a,
0x03,
0x80,
0x11,
0x08,
0x80,
0x23,
0x81,
0x05,
0x81,
0x24,
0x03,
0x80,
0x10,
0x01,
0x83,
0x02,
0x80,
0x10,
0x03,
0x80,
0x24,
0x81,
0x04,
0x82,
0x25,
0x80,
0x0f,
0x80,
0x0f,
0x02,
0x80,
0x25,
0x82,
0x03,
0x81,
0x27,
0x80,
0x0e,
0x80,
0x0e,
0x80,
0x27,
0x81,
0x03,
0x81,
0x28,
0x80,
0x0d,
0x80,
0x0d,
0x80,
0x28,
0x81,
0x03,
0x81,
0x29,
0x80,
0x0c,
0x03,
0x80,
0x0c,
0x04,
0x80,
0x29,
0x81,
0x02,
0x82,
0x2a,
0x80,
0x0b,
0x80,
0x0b,
0x03,
0x80,
0x2a,
0x82,
0x01,
0x81,
0x2c,
0x80,
0x0a,
0x80,
0x0a,
0x80,
0x2c,
0x81,
0x01,
0x81,
0x2d,
0x80,
0x09,
0x02,
0x80,
0x09,
0x03,
0x80,
0x2d,
0x02,
0x81,
0x01,
0x81,
0x2e,
0x80,
0x08,
0x82,
0x03,
0x80,
0x08,
0x05,
0x80,
0x2e,
0x81,
0x01,
0x81,
0x2f,
0x80,
0x07,
0x03,
0x80,
0x07,
0x05,
0x80,
0x2f,
0x81,
0x00,
0x82,
0x30,
0x80,
0x06,
0x80,
0x06,
0x80,
0x30,
0x84,
0x32,
0x04,
0x88,
0x12};
const struct rle_bitmap date_icon = { 15, 15, date_icon_data };
static const uint8_t battery_charging_data[] = {
0x8d,
0x00,
0x80,
0x05,
0x0b,
0x80,
0x05,
0x00,
0x80,
0x32,
0x83,
0x33,
0x0b,
0x80,
0x04,
0x00,
0x80,
0x05,
0x81,
0x03,
0x82,
0x04,
0x80,
0x33,
0x83,
0x34,
0x80,
0x84,
0x01,
0x82,
0x00,
0x86,
0x03,
0x80,
0x82,
0x00,
0x86,
0x03,
0x82,
0x04,
0x84,
0x01,
0x82,
0x05,
0x81,
0x03,
0x82,
0x0b,
0x80,
0x34,
0x83,
0x35,
0x00,
0x80,
0x02,
0x0b,
0x80,
0x02,
0x00,
0x8d,
0x00};
const struct rle_bitmap battery_charging = { 15, 12, battery_charging_data };
static const uint8_t comp_circle3_data[] = {
0x33,
0x90,
0x62,
0x9a,
0x59,
0x89,
0x06,
0x80,
0x35,
0x83,
0x36,
0x06,
0x89,
0x52,
0x87,
0x0b,
0x80,
0x01,
0x0b,
0x87,
0x4c,
0x86,
0x0f,
0x80,
0x01,
0x0f,
0x86,
0x47,
0x85,
0x12,
0x80,
0x36,
0x83,
0x37,
0x12,
0x85,
0x43,
0x84,
0x15,
0x80,
0x00,
0x15,
0x84,
0x3f,
0x84,
0x17,
0x80,
0x00,
0x17,
0x84,
0x3b,
0x84,
0x19,
0x80,
0x37,
0x83,
0x38,
0x82,
0x38,
0xfc,
0x38,
0x82,
0x19,
0x84,
0x38,
0x83,
0x37,
0x80,
0x00,
0x80,
0x00,
0x1b,
0x80,
0x37,
0x1b,
0x83,
0x36,
0x80,
0x01,
0x80,
0x01,
0x35,
0x83,
0x1d,
0x80,
0x36,
0x1d,
0x83,
0x35,
0x32,
0x83,
0x1e,
0x80,
0x02,
0x1e,
0x83,
0x2f,
0x83,
0x20,
0x80,
0x02,
0x20,
0x83,
0x2c,
0x83,
0x21,
0x80,
0x35,
0x21,
0x83,
0x34,
0x2a,
0x83,
0x22,
0x80,
0x03,
0x22,
0x83,
0x28,
0x82,
0x24,
0x80,
0x03,
0x24,
0x82,
0x26,
0x82,
0x25,
0x80,
0x34,
0x83,
0x33,
0x25,
0x82,
0x24,
0x82,
0x26,
0x80,
0x04,
0x26,
0x82,
0x22,
0x82,
0x27,
0x80,
0x04,
0x27,
0x82,
0x20,
0x83,
0x27,
0x80,
0x33,
0x27,
0x83,
0x32,
0x1e,
0x82,
0x01,
0x80,
0x05,
0x26,
0x80,
0x05,
0x26,
0x80,
0x32,
0x84,
0x30,
0x01,
0x82,
0x1c,
0x82,
0x03,
0x80,
0x06,
0x25,
0x80,
0x06,
0x25,
0x80,
0x30,
0x03,
0x82,
0x00,
0x81,
0x2f,
0x1a,
0x82,
0x05,
0x80,
0x07,
0x24,
0x80,
0x24,
0x80,
0x05,
0x82,
0x18,
0x82,
0x07,
0x80,
0x2f,
0x81,
0x01,
0x81,
0x2e,
0x23,
0x80,
0x08,
0x23,
0x80,
0x07,
0x82,
0x17,
0x82,
0x08,
0x80,
0x2e,
0x81,
0x01,
0x81,
0x2d,
0x22,
0x80,
0x09,
0x22,
0x80,
0x09,
0x08,
0x82,
0x16,
0x82,
0x0a,
0x80,
0x2d,
0x81,
0x01,
0x81,
0x2c,
0x21,
0x80,
0x0a,
0x21,
0x80,
0x0a,
0x80,
0x2c,
0x81,
0x01,
0x82,
0x2a,
0x14,
0x82,
0x0c,
0x80,
0x0b,
0x20,
0x80,
0x0b,
0x20,
0x80,
0x2a,
0x0c,
0x82,
0x02,
0x13,
0x81,
0x29,
0x0e,
0x80,
0x0c,
0x1f,
0x80,
0x0c,
0x1f,
0x80,
0x29,
0x81,
0x03,
0x0e,
0x81,
0x28,
0x80,
0x0d,
0x80,
0x0d,
0x80,
0x28,
0x81,
0x03,
0x81,
0x27,
0x12,
0x82,
0x0f,
0x80,
0x0e,
0x1e,
0x80,
0x0e,
0x1e,
0x80,
0x27,
0x81,
0x03,
0x0f,
0x82,
0x25,
0x10,
0x82,
0x11,
0x80,
0x0f,
0x1d,
0x80,
0x0f,
0x1d,
0x80,
0x25,
0x11,
0x82,
0x04,
0x0f,
0x81,
0x24,
0x13,
0x80,
0x10,
0x1c,
0x80,
0x10,
0x1c,
0x80,
0x24,
0x81,
0x05,
0x13,
0x81,
0x23,
0x0e,
0x82,
0x14,
0x80,
0x11,
0x1b,
0x80,
0x11,
0x1b,
0x80,
0x23,
0x81,
0x05,
0x14,
0x82,
0x21,
0x0d,
0x81,
0x16,
0x80,
0x12,
0x1a,
0x80,
0x12,
0x1a,
0x80,
0x21,
0x82,
0x06,
0x16,
0x81,
0x20,
0x0c,
0x82,
0x17,
0x80,
0x13,
0x19,
0x80,
0x13,
0x19,
0x80,
0x20,
0x81,
0x07,
0x17,
0x82,
0x0b,
0x81,
0x1f,
0x19,
0x80,
0x14,
0x18,
0x80,
0x14,
0x18,
0x80,
0x1f,
0x19,
0x81,
0x07,
0x0a,
0x82,
0x1d,
0x1a,
0x80,
0x15,
0x17,
0x80,
0x15,
0x17,
0x80,
0x1d,
0x1a,
0x82,
0x08,
0x09,
0x81,
0x1c,
0x80,
......@@ -1081,918 +1201,801 @@ static const uint8_t comp_circle3_data[] = {
0x80,
0x1c,
0x81,
0x09,
0x08,
0x82,
0x1a,
0x1d,
0x80,
0x17,
0x15,
0x80,
0x17,
0x15,
0x80,
0x1a,
0x1d,
0x82,
0x0a,
0x07,
0x81,
0x19,
0x1f,
0x80,
0x18,
0x14,
0x80,
0x18,
0x14,
0x80,
0x19,
0x1f,
0x81,
0x0b,
0x82,
0x17,
0x80,
0x19,
0x80,
0x19,
0x80,
0x17,
0x82,
0x0c,
0x07,
0x81,
0x16,
0x20,
0x80,
0x1a,
0x13,
0x80,
0x1a,
0x13,
0x80,
0x16,
0x20,
0x81,
0x0d,
0x06,
0x82,
0x14,
0x21,
0x80,
0x1b,
0x12,
0x80,
0x1b,
0x12,
0x80,
0x14,
0x21,
0x82,
0x0e,
0x05,
0x81,
0x13,
0x80,
0x1c,
0x23,
0x80,
0x1c,
0x11,
0x80,
0x13,
0x81,
0x0f,
0x82,
0x11,
0x80,
0x1d,
0x23,
0x81,
0x05,
0x81,
0x24,
0x80,
0x1d,
0x10,
0x80,
0x11,
0x82,
0x10,
0x82,
0x0f,
0x80,
0x1e,
0x24,
0x81,
0x04,
0x82,
0x25,
0x80,
0x1e,
0x0f,
0x80,
0x0f,
0x80,
0x25,
0x82,
0x12,
0x03,
0x81,
0x0e,
0x80,
0x1f,
0x27,
0x80,
0x1f,
0x0e,
0x80,
0x0e,
0x80,
0x27,
0x81,
0x13,
0x82,
0x0c,
0x03,
0x81,
0x28,
0x80,
0x20,
0x0d,
0x80,
0x20,
0x0d,
0x80,
0x0c,
0x82,
0x14,
0x82,
0x0a,
0x28,
0x81,
0x03,
0x81,
0x29,
0x80,
0x21,
0x0c,
0x80,
0x21,
0x0c,
0x80,
0x0a,
0x82,
0x16,
0x29,
0x81,
0x02,
0x82,
0x08,
0x2a,
0x80,
0x22,
0x0b,
0x80,
0x22,
0x0b,
0x80,
0x08,
0x82,
0x17,
0x2a,
0x82,
0x07,
0x01,
0x81,
0x2c,
0x80,
0x23,
0x0a,
0x80,
0x23,
0x0a,
0x80,
0x07,
0x82,
0x18,
0x82,
0x05,
0x2c,
0x81,
0x01,
0x81,
0x2d,
0x80,
0x24,
0x09,
0x80,
0x24,
0x09,
0x80,
0x05,
0x82,
0x1a,
0x82,
0x03,
0x2d,
0x81,
0x01,
0x81,
0x2e,
0x80,
0x25,
0x08,
0x80,
0x25,
0x08,
0x80,
0x03,
0x82,
0x1c,
0x82,
0x2e,
0x81,
0x01,
0x81,
0x2f,
0x80,
0x26,
0x07,
0x80,
0x26,
0x07,
0x80,
0x01,
0x2f,
0x81,
0x00,
0x82,
0x1e,
0x83,
0x27,
0x30,
0x80,
0x27,
0x83,
0x20,
0x82,
0x27,
0x06,
0x80,
0x27,
0x82,
0x22,
0x82,
0x26,
0x06,
0x80,
0x26,
0x82,
0x24,
0x82,
0x25,
0x30,
0x84,
0x32,
0x80,
0x25,
0x82,
0x26,
0x82,
0x24,
0x05,
0x80,
0x24,
0x82,
0x28,
0x83,
0x22,
0x05,
0x80,
0x22,
0x83,
0x2a,
0x32,
0x83,
0x21,
0x33,
0x80,
0x21,
0x83,
0x2c,
0x83,
0x20,
0x04,
0x80,
0x20,
0x83,
0x2f,
0x83,
0x1e,
0x04,
0x80,
0x1e,
0x83,
0x32,
0x33,
0x83,
0x1d,
0x34,
0x80,
0x1d,
0x03,
0x80,
0x03,
0x80,
0x34,
0x83,
0x35,
0x83,
0x1b,
0x80,
0x1b,
0x83,
0x38,
0x84,
0x19,
0x02,
0x80,
0x19,
0x84,
0x3b,
0x84,
0x17,
0x02,
0x80,
0x17,
0x84,
0x3f,
0x84,
0x15,
0x35,
0x83,
0x36,
0x80,
0x15,
0x84,
0x43,
0x85,
0x12,
0x01,
0x80,
0x12,
0x85,
0x47,
0x86,
0x0f,
0x01,
0x80,
0x0f,
0x86,
0x4c,
0x87,
0x0b,
0x36,
0x83,
0x37,
0x80,
0x0b,
0x87,
0x52,
0x89,
0x06,
0x00,
0x80,
0x06,
0x89,
0x59,
0x9a,
0x62,
0x90,
0x33};
const struct rle_bitmap comp_circle3 = { 121, 121, comp_circle3_data };
static const uint8_t date_icon_data[] = {
0x10,
0x8a,
0x03,
0x00,
0x80,
0x08,
0x37,
0x83,
0x38,
0x82,
0x38,
0xfc,
0x38,
0x82,
0x38,
0x83,
0x37,
0x80,
0x03,
0x8a,
0x03,
0x00,
0x80,
0x08,
0x00,
0x80,
0x03,
0x37,
0x83,
0x36,
0x80,
0x01,
0x83,
0x02,
0x80,
0x03,
0x01,
0x80,
0x04,
0x36,
0x83,
0x35,
0x80,
0x02,
0x80,
0x03,
0x80,
0x03,
0x02,
0x80,
0x03,
0x35,
0x83,
0x34,
0x80,
0x03,
0x80,
0x04,
0x80,
0x02,
0x80,
0x03,
0x80,
0x01,
0x34,
0x83,
0x33,
0x80,
0x01,
0x04,
0x80,
0x02,
0x04,
0x80,
0x03,
0x33,
0x83,
0x32,
0x80,
0x02,
0x81,
0x01,
0x82,
0x03,
0x05,
0x80,
0x05,
0x80,
0x01,
0x32,
0x84,
0x30,
0x80,
0x03,
0x06,
0x80,
0x05,
0x06,
0x80,
0x30,
0x82,
0x00,
0x81,
0x2f,
0x80,
0x04,
0x88,
0x12};
const struct rle_bitmap date_icon = { 15, 15, date_icon_data };
static const uint8_t comp_ico_data[] = {
0x04,
0x07,
0x80,
0x02,
0x07,
0x80,
0x09,
0x2f,
0x81,
0x01,
0x81,
0x2e,
0x80,
0x09,
0x08,
0x80,
0x00,
0x08,
0x80,
0x00,
0x2e,
0x81,
0x01,
0x81,
0x2d,
0x80,
0x09,
0x80,
0x01,
0x81,
0x09,
0x80,
0x02,
0x2d,
0x81,
0x01,
0x81,
0x2c,
0x80,
0x1a,
0x0a,
0x80,
0x0c,
0x82,
0x0a,
0x80,
0x00,
0x2c,
0x81,
0x01,
0x82,
0x2a,
0x80,
0x00,
0x0b,
0x80,
0x0b,
0x80,
0x0d,
0x2a,
0x82,
0x02,
0x81,
0x29,
0x80,
0x0d,
0x0c,
0x80,
0x0d,
0x0c,
0x80,
0x29,
0x81,
0x03,
0x81,
0x28,
0x80,
0x0d,
0x80,
0x0d,
0x80,
0x06};
const struct rle_bitmap comp_ico = { 15, 15, comp_ico_data };
static const uint8_t gps_receiving_data[] = {
0x06,
0x83,
0x28,
0x81,
0x03,
0x81,
0x27,
0x80,
0x0e,
0x80,
0x0a,
0x81,
0x01,
0x0e,
0x80,
0x04,
0x82,
0x27,
0x81,
0x03,
0x82,
0x25,
0x80,
0x01,
0x0f,
0x80,
0x02,
0x0f,
0x80,
0x25,
0x82,
0x04,
0x81,
0x06,
0x24,
0x80,
0x00,
0x10,
0x80,
0x01,
0x10,
0x80,
0x24,
0x81,
0x03,
0x05,
0x81,
0x01,
0x23,
0x80,
0x00,
0x11,
0x80,
0x01,
0x11,
0x80,
0x23,
0x81,
0x05,
0x82,
0x00,
0x83,
0x03,
0x21,
0x80,
0x01,
0x12,
0x80,
0x12,
0x80,
0x21,
0x82,
0x02,
0x06,
0x81,
0x20,
0x80,
0x13,
0x80,
0x13,
0x80,
0x20,
0x81,
0x07,
0x83,
0x01,
0x81,
0x1f,
0x80,
0x01,
0x14,
0x80,
0x05,
0x83,
0x03,
0x14,
0x80,
0x06,
0x84,
0x00,
0x1f,
0x81,
0x07,
0x85,
0x0a,
0x81,
0x09,
0x84,
0x08,
0x86,
0x05};
const struct rle_bitmap gps_receiving = { 15, 15, gps_receiving_data };
static const uint8_t comp_circle2_data[] = {
0x33,
0x8f,
0x61,
0x86,
0x0d,
0x86,
0x57,
0x84,
0x19,
0x84,
0x50,
0x83,
0x21,
0x83,
0x4b,
0x82,
0x27,
0x82,
0x47,
0x82,
0x2b,
0x1d,
0x80,
0x15,
0x80,
0x15,
0x80,
0x1d,
0x82,
0x42,
0x83,
0x2f,
0x83,
0x3e,
0x08,
0x81,
0x35,
0x1c,
0x80,
0x16,
0x80,
0x16,
0x80,
0x1c,
0x81,
0x3b,
0x82,
0x37,
0x82,
0x37,
0x09,
0x82,
0x3b,
0x1a,
0x80,
0x17,
0x80,
0x17,
0x80,
0x1a,
0x82,
0x34,
0x0a,
0x81,
0x3f,
0x19,
0x80,
0x18,
0x80,
0x18,
0x80,
0x19,
0x81,
0x31,
0x0b,
0x82,
0x41,
0x17,
0x80,
0x19,
0x80,
0x19,
0x80,
0x17,
0x82,
0x2e,
0x81,
0x45,
0x81,
0x2c,
0x81,
0x47,
0x81,
0x2a,
0x0c,
0x81,
0x49,
0x16,
0x80,
0x1a,
0x80,
0x1a,
0x80,
0x16,
0x81,
0x27,
0x0d,
0x82,
0x4b,
0x14,
0x80,
0x1b,
0x80,
0x1b,
0x80,
0x14,
0x82,
0x24,
0x81,
0x4f,
0x81,
0x22,
0x81,
0x51,
0x81,
0x20,
0x81,
0x53,
0x81,
0x1e,
0x81,
0x55,
0x0e,
0x81,
0x1d,
0x13,
0x80,
0x57,
0x1c,
0x80,
0x1c,
0x80,
0x13,
0x81,
0x57,
0x81,
0x1a,
0x81,
0x59,
0x81,
0x18,
0x81,
0x5b,
0x81,
0x16,
0x81,
0x5d,
0x81,
0x15,
0x0f,
0x82,
0x11,
0x80,
0x5f,
0x1d,
0x80,
0x1d,
0x80,
0x14,
0x81,
0x5f,
0x81,
0x12,
0x81,
0x61,
0x81,
0x11,
0x82,
0x10,
0x82,
0x0f,
0x80,
0x63,
0x1e,
0x80,
0x1e,
0x80,
0x10,
0x81,
0x63,
0x81,
0x0f,
0x82,
0x12,
0x81,
0x0e,
0x80,
0x65,
0x1f,
0x80,
0x1f,
0x80,
0x0e,
0x81,
0x65,
0x81,
0x13,
0x82,
0x0c,
0x81,
0x67,
0x81,
0x0b,
0x80,
0x69,
0x80,
0x0b,
0x20,
0x80,
0x69,
0x20,
0x80,
0x0c,
0x82,
0x14,
0x82,
0x0a,
0x81,
0x69,
0x81,
0x09,
0x80,
0x6b,
0x21,
0x80,
0x08,
0x81,
0x6b,
0x81,
0x07,
0x21,
0x80,
0x6d,
0x0a,
0x82,
0x16,
0x82,
0x08,
0x80,
0x06,
0x81,
0x6d,
0x81,
0x05,
0x22,
0x80,
0x6f,
0x22,
0x80,
0x05,
0x08,
0x82,
0x17,
0x82,
0x07,
0x80,
0x6f,
0x23,
0x80,
0x04,
0x81,
0x6f,
0x81,
0x03,
0x23,
0x80,
0x71,
0x07,
0x82,
0x18,
0x82,
0x05,
0x80,
0x03,
0x24,
0x80,
0x71,
0x24,
0x80,
0x05,
0x82,
0x1a,
0x82,
0x03,
0x80,
0x71,
0x80,
0x02,
0x81,
0x71,
0x81,
0x01,
0x25,
0x80,
0x73,
0x25,
0x80,
0x03,
0x82,
0x1c,
0x82,
0x01,
0x80,
0x73,
0x80,
0x01,
0x26,
0x80,
0x73,
0x26,
0x80,
0x01,
0x82,
0x1e,
0x83,
0x27,
0x80,
0x73,
0x27,
0x83,
0x20,
0x82,
0x27,
0x80,
0x01,
0x27,
0x82,
0x22,
0x82,
0x26,
0x80,
0x73,
0x26,
0x82,
0x24,
0x82,
0x25,
0x80,
0x00,
0x81,
0x73,
0x25,
0x82,
0x75,
0x81,
0x75,
0x81,
0x75,
0x81,
0x75,
0x81,
0x75,
0x81,
0x75,
0x81,
0x75,
0x81,
0x75,
0x81,
0x75,
0x81,
0x75,
0x81,
0x75,
0x81,
0x75,
0x81,
0x75,
0x81,
0x75,
0x26,
0x82,
0x73,
0x81,
0x00,
0x24,
0x80,
0x73,
0x24,
0x82,
0x28,
0x83,
0x22,
0x80,
0x01,
0x22,
0x83,
0x2a,
0x83,
0x21,
0x80,
0x73,
0x21,
0x83,
0x2c,
0x83,
0x20,
0x80,
0x01,
0x20,
0x83,
0x2f,
0x83,
0x1e,
0x80,
0x73,
0x1e,
0x83,
0x32,
0x83,
0x1d,
0x80,
0x01,
0x1d,
0x83,
0x35,
0x83,
0x1b,
0x80,
0x73,
0x1b,
0x83,
0x38,
0x84,
0x19,
0x80,
0x01,
0x19,
0x84,
0x3b,
0x84,
0x17,
0x80,
0x73,
0x17,
0x84,
0x3f,
0x84,
0x15,
0x80,
0x01,
0x81,
0x71,
0x81,
0x02,
0x15,
0x84,
0x43,
0x85,
0x12,
0x80,
0x71,
0x12,
0x85,
0x47,
0x86,
0x0f,
0x80,
0x03,
0x0f,
0x86,
0x4c,
0x87,
0x0b,
0x80,
0x71,
0x0b,
0x87,
0x52,
0x89,
0x06,
0x80,
0x06,
0x89,
0x59,
0x9a,
0x62,
0x90,
0x33};
const struct rle_bitmap comp_circle3 = { 121, 121, comp_circle3_data };
static const uint8_t clock_icon_data[] = {
0x03,
0x00,
0x84,
0x07,
0x00,
0x80,
0x71,
0x04,
0x80,
0x00,
0x04,
0x80,
0x03,
0x81,
0x6f,
0x81,
0x80,
0x03,
0x80,
0x02,
0x00,
0x04,
0x80,
0x6f,
0x04,
0x00,
0x01,
0x80,
0x04,
0x80,
0x04,
0x80,
0x00,
0x00,
0x05,
0x80,
0x6f,
0x05,
0x00,
0x80,
0x05,
0x80,
0x05,
0x81,
0x6d,
0x05,
0x80,
0x05,
0x81,
0x06,
0x80,
0x6d,
0x04,
0x80,
0x00,
0x07,
0x81,
0x6b,
0x81,
0x08,
0x80,
0x6b,
0x03,
0x00,
0x00,
0x80,
0x09,
0x81,
0x69,
0x81,
0x0a,
0x80,
0x69,
0x80,
0x0b,
0x80,
0x69,
0x80,
0x0b,
0x81,
0x67,
0x81,
0x0c,
0x81,
0x65,
0x81,
0x0e,
0x80,
0x65,
0x80,
0x0f,
0x81,
0x63,
0x81,
0x10,
0x80,
0x63,
0x80,
0x11,
0x81,
0x61,
0x81,
0x12,
0x81,
0x5f,
0x81,
0x14,
0x01,
0x00,
0x0a,
0x00,
0x02,
0x80,
0x5f,
0x08,
0x80,
0x15,
0x81,
0x5d,
0x81,
0x16,
0x81,
0x5b,
0x81,
0x18,
0x81,
0x59,
0x81,
0x1a,
0x81,
0x57,
0x81,
0x1c,
0x04,
0x00,
0x80,
0x57,
0x04,
0x80,
0x1d,
0x81,
0x55,
0x81,
0x1e,
0x81,
0x53,
0x81,
0x20,
0x81,
0x51,
0x81,
0x22,
0x81,
0x4f,
0x81,
0x24,
0x82,
0x4b,
0x82,
0x27,
0x81,
0x49,
0x81,
0x2a,
0x81,
0x47,
0x81,
0x2c,
0x81,
0x45,
0x81,
0x2e,
0x82,
0x41,
0x82,
0x31,
0x81,
0x3f,
0x81,
0x34,
0x82,
0x3b,
0x82,
0x37,
0x82,
0x37,
0x82,
0x3b,
0x81,
0x35,
0x81,
0x3e,
0x83,
0x2f,
0x83,
0x42,
0x82,
0x2b,
0x82,
0x47,
0x82,
0x27,
0x00,
0x07,
0x00,
0x82,
0x4b,
0x83,
0x21,
0x83,
0x50,
0x84,
0x19,
0x84,
0x57,
0x86,
0x0d,
0x86,
0x61,
0x8f,
0x33};
const struct rle_bitmap comp_circle2 = { 120, 120, comp_circle2_data };
0x00,
0x04};
const struct rle_bitmap clock_icon = { 15, 15, clock_icon_data };
static const uint8_t comp_arrow_data[] = {
static const uint8_t comp_arrow2_data[] = {
0x05,
0x82,
0x0b,
0x82,
0x0b,
0x82,
0x0b,
0x82,
0x0b,
0x82,
0x0a,
0x84,
0x09,
......@@ -2005,6 +2008,12 @@ static const uint8_t comp_arrow_data[] = {
0x84,
0x09,
0x84,
0x09,
0x84,
0x09,
0x84,
0x09,
0x84,
0x08,
0x86,
0x07,
......@@ -2017,6 +2026,12 @@ static const uint8_t comp_arrow_data[] = {
0x86,
0x07,
0x86,
0x07,
0x86,
0x07,
0x86,
0x07,
0x86,
0x06,
0x88,
0x05,
......@@ -2029,12 +2044,26 @@ static const uint8_t comp_arrow_data[] = {
0x88,
0x05,
0x88,
0x04,
0x8a,
0x03,
0x8a,
0x03,
0x8a,
0x05,
0x88,
0x05,
0x88,
0x05,
0x88,
0x05,
0x88,
0x04,
0x8a,
0x03,
0x8a,
0x03,
0x8a,
0x03,
0x8a,
0x03,
0x8a,
0x03,
0x8a,
0x03,
0x8a,
0x03,
......@@ -2053,8 +2082,18 @@ static const uint8_t comp_arrow_data[] = {
0x8c,
0x01,
0x8c,
0x01,
0x8c,
0x01,
0x8c,
0x01,
0x8c,
0x00,
0xad,
0xcb,
0x0c,
0x81,
0x0c,
0x81,
0x0c,
0x81,
0x0c,
......@@ -2083,6 +2122,18 @@ static const uint8_t comp_arrow_data[] = {
0x80,
0x0a,
0x80,
0x01,
0x80,
0x0a,
0x80,
0x01,
0x80,
0x0a,
0x80,
0x01,
0x80,
0x0a,
0x80,
0x02,
0x80,
0x08,
......@@ -2107,6 +2158,18 @@ static const uint8_t comp_arrow_data[] = {
0x80,
0x08,
0x80,
0x03,
0x80,
0x08,
0x80,
0x03,
0x80,
0x08,
0x80,
0x03,
0x80,
0x08,
0x80,
0x04,
0x80,
0x06,
......@@ -2127,6 +2190,22 @@ static const uint8_t comp_arrow_data[] = {
0x80,
0x06,
0x80,
0x05,
0x80,
0x06,
0x80,
0x05,
0x80,
0x06,
0x80,
0x05,
0x80,
0x06,
0x80,
0x05,
0x80,
0x06,
0x80,
0x06,
0x80,
0x04,
......@@ -2151,6 +2230,18 @@ static const uint8_t comp_arrow_data[] = {
0x80,
0x04,
0x80,
0x07,
0x80,
0x04,
0x80,
0x07,
0x80,
0x04,
0x80,
0x07,
0x80,
0x04,
0x80,
0x08,
0x80,
0x02,
......@@ -2175,733 +2266,675 @@ static const uint8_t comp_arrow_data[] = {
0x80,
0x02,
0x80,
0x0a,
0x09,
0x80,
0x00,
0x02,
0x80,
0x0b,
0x09,
0x80,
0x00,
0x02,
0x80,
0x0b,
0x82,
0x05};
const struct rle_bitmap comp_arrow = { 15, 70, comp_arrow_data };
static const uint8_t usb_ms_icon_data[] = {
0x03,
0x86,
0x07,
0x09,
0x80,
0x04,
0x02,
0x80,
0x07,
0x0a,
0x80,
0x00,
0x80,
0x00,
0x0b,
0x80,
0x00,
0x80,
0x07,
0x0b,
0x80,
0x00,
0x80,
0x00,
0x0b,
0x80,
0x00,
0x80,
0x06,
0x88,
0x05,
0x80,
0x06,
0x0b,
0x82,
0x05};
const struct rle_bitmap comp_arrow2 = { 15, 110, comp_arrow2_data };
static const uint8_t gps_disconnected_data[] = {
0x0a,
0x80,
0x05,
0x0d,
0x80,
0x00,
0x0b,
0x84,
0x00,
0x03,
0x82,
0x04,
0x80,
0x05,
0x04,
0x81,
0x06,
0x80,
0x03,
0x81,
0x03,
0x81,
0x06,
0x82,
0x00,
0x80,
0x83,
0x06,
0x82,
0x02,
0x80,
0x00,
0x80,
0x05,
0x80,
0x00,
0x80,
0x02,
0x07,
0x83,
0x01,
0x80,
0x00,
0x01,
0x80,
0x05,
0x83,
0x03,
0x80,
0x06,
0x84,
0x00,
0x80,
0x02,
0x80,
0x00,
0x80,
0x81,
0x07,
0x85,
0x0a,
0x81,
0x09,
0x84,
0x08,
0x86,
0x05};
const struct rle_bitmap gps_disconnected = { 15, 15, gps_disconnected_data };
static const uint8_t example_icon_data[] = {
0x2e,
0x81,
0x05,
0x80,
0x00,
0x80,
0x02,
0x80,
0x00,
0x80,
0x81,
0x04,
0x81,
0x05,
0x82,
0x16,
0x80,
0x00,
0x0d,
0x80,
0x02,
0x0d,
0x80,
0x00,
0x08,
0x80,
0x05,
0x09,
0x80,
0x01,
0x82,
0x01,
0x02,
0x80,
0x08,
0x81,
0x02,
0x81,
0x06,
0x80,
0x81,
0x04,
0x80,
0x83,
0x01,
0x82,
0x08,
0x84,
0x04};
const struct rle_bitmap usb_ms_icon = { 15, 15, usb_ms_icon_data };
0x83,
0x14};
const struct rle_bitmap example_icon = { 15, 15, example_icon_data };
static const uint8_t battery_data[] = {
static const uint8_t comp_circle_data[] = {
0x20,
0x8d,
0x00,
0x80,
0x0b,
0x80,
0x00,
0x80,
0x0b,
0x80,
0x00,
0x80,
0x0b,
0x82,
0x3d,
0x84,
0x0b,
0x84,
0x36,
0x83,
0x13,
0x83,
0x30,
0x83,
0x19,
0x83,
0x2b,
0x82,
0x0b,
0x1f,
0x82,
0x0b,
0x27,
0x82,
0x0b,
0x23,
0x82,
0x0b,
0x24,
0x81,
0x27,
0x81,
0x21,
0x82,
0x0b,
0x80,
0x00,
0x29,
0x82,
0x1e,
0x81,
0x2d,
0x81,
0x1c,
0x81,
0x2f,
0x81,
0x1a,
0x81,
0x31,
0x81,
0x18,
0x81,
0x33,
0x81,
0x16,
0x81,
0x35,
0x81,
0x14,
0x81,
0x37,
0x81,
0x12,
0x81,
0x39,
0x81,
0x10,
0x81,
0x3b,
0x81,
0x0e,
0x81,
0x3d,
0x81,
0x0d,
0x80,
0x0b,
0x3f,
0x80,
0x00,
0x8d,
0x00};
const struct rle_bitmap battery = { 15, 12, battery_data };
static const uint8_t clock_icon_data[] = {
0x03,
0x00,
0x84,
0x07,
0x00,
0x0c,
0x81,
0x3f,
0x81,
0x0a,
0x81,
0x41,
0x81,
0x09,
0x80,
0x04,
0x43,
0x80,
0x00,
0x04,
0x08,
0x81,
0x43,
0x81,
0x07,
0x80,
0x03,
0x45,
0x80,
0x03,
0x06,
0x81,
0x45,
0x81,
0x05,
0x80,
0x02,
0x00,
0x04,
0x47,
0x80,
0x04,
0x00,
0x01,
0x05,
0x80,
0x04,
0x47,
0x80,
0x04,
0x81,
0x47,
0x81,
0x03,
0x80,
0x00,
0x00,
0x05,
0x49,
0x80,
0x05,
0x00,
0x03,
0x80,
0x05,
0x49,
0x80,
0x05,
0x02,
0x81,
0x05,
0x80,
0x05,
0x49,
0x81,
0x06,
0x80,
0x04,
0x80,
0x00,
0x07,
0x80,
0x03,
0x00,
0x00,
0x01,
0x80,
0x0a,
0x4b,
0x80,
0x01,
0x00,
0x0a,
0x00,
0x02,
0x80,
0x08,
0x4b,
0x80,
0x04,
0x00,
0x01,
0x80,
0x04,
0x4b,
0x80,
0x00,
0x07,
0x00,
0x81,
0x4b,
0x82,
0x00,
0x04};
const struct rle_bitmap clock_icon = { 15, 15, clock_icon_data };
static const uint8_t example_icon_data[] = {
0x2e,
0x4d,
0x81,
0x05,
0x4d,
0x81,
0x04,
0x4d,
0x81,
0x05,
0x4d,
0x81,
0x4d,
0x81,
0x4d,
0x81,
0x4d,
0x81,
0x4d,
0x81,
0x4d,
0x81,
0x4d,
0x81,
0x4d,
0x81,
0x4d,
0x82,
0x16,
0x4b,
0x81,
0x00,
0x80,
0x0d,
0x4b,
0x80,
0x0d,
0x01,
0x80,
0x08,
0x4b,
0x80,
0x09,
0x01,
0x80,
0x02,
0x4b,
0x80,
0x08,
0x01,
0x81,
0x49,
0x81,
0x02,
0x80,
0x49,
0x80,
0x03,
0x80,
0x49,
0x80,
0x03,
0x81,
0x06,
0x47,
0x81,
0x04,
0x83,
0x01,
0x82,
0x08,
0x83,
0x14};
const struct rle_bitmap example_icon = { 15, 15, example_icon_data };
static const uint8_t battery_charging_data[] = {
0x8d,
0x00,
0x80,
0x0b,
0x80,
0x00,
0x47,
0x80,
0x0b,
0x05,
0x80,
0x00,
0x47,
0x80,
0x05,
0x81,
0x03,
0x82,
0x04,
0x84,
0x01,
0x82,
0x00,
0x86,
0x03,
0x82,
0x00,
0x86,
0x03,
0x82,
0x04,
0x84,
0x01,
0x82,
0x05,
0x45,
0x81,
0x03,
0x82,
0x0b,
0x06,
0x80,
0x00,
0x45,
0x80,
0x0b,
0x07,
0x81,
0x43,
0x81,
0x08,
0x80,
0x00,
0x8d,
0x00};
const struct rle_bitmap battery_charging = { 15, 12, battery_charging_data };
static const uint8_t gps_searching_data[] = {
0x0c,
0x80,
0x0c,
0x80,
0x13,
0x82,
0x03,
0x43,
0x80,
0x05,
0x09,
0x81,
0x04,
0x80,
0x05,
0x41,
0x81,
0x03,
0x0a,
0x81,
0x06,
0x82,
0x00,
0x83,
0x06,
0x82,
0x02,
0x80,
0x07,
0x83,
0x01,
0x80,
0x01,
0x3f,
0x81,
0x0c,
0x80,
0x05,
0x83,
0x03,
0x3f,
0x80,
0x06,
0x84,
0x00,
0x0d,
0x81,
0x07,
0x85,
0x0a,
0x3d,
0x81,
0x09,
0x84,
0x08,
0x86,
0x05};
const struct rle_bitmap gps_searching = { 15, 15, gps_searching_data };
static const uint8_t settings_icon_data[] = {
0x02,
0x0e,
0x81,
0x0d,
0x3b,
0x81,
0x0c,
0x10,
0x81,
0x08,
0x80,
0x01,
0x82,
0x08,
0x85,
0x09,
0x85,
0x0c,
0x82,
0x0c,
0x82,
0x0c,
0x82,
0x0c,
0x85,
0x09,
0x85,
0x08,
0x82,
0x01,
0x80,
0x08,
0x39,
0x81,
0x0c,
0x12,
0x81,
0x0d,
0x37,
0x81,
0x02};
const struct rle_bitmap settings_icon = { 15, 15, settings_icon_data };
static const uint8_t game_ico_data[] = {
0x8f,
0x0c,
0x14,
0x81,
0x0c,
0x35,
0x81,
0x0c,
0x16,
0x81,
0x0c,
0x33,
0x81,
0x02,
0x83,
0x05,
0x18,
0x81,
0x01,
0x85,
0x04,
0x31,
0x81,
0x00,
0x87,
0x03,
0x1a,
0x81,
0x00,
0x87,
0x03,
0x2f,
0x81,
0x00,
0x87,
0x03,
0x1c,
0x81,
0x00,
0x87,
0x03,
0x2d,
0x81,
0x01,
0x85,
0x04,
0x1e,
0x82,
0x29,
0x82,
0x21,
0x81,
0x02,
0x83,
0x05,
0x27,
0x81,
0x0c,
0x8f};
const struct rle_bitmap game_ico = { 15, 15, game_ico_data };
static const uint8_t comp_arrow2_data[] = {
0x05,
0x82,
0x0b,
0x24,
0x82,
0x0b,
0x23,
0x82,
0x0b,
0x27,
0x82,
0x0b,
0x1f,
0x82,
0x0a,
0x84,
0x09,
0x84,
0x09,
0x84,
0x09,
0x84,
0x09,
0x84,
0x09,
0x84,
0x09,
0x84,
0x09,
0x2b,
0x83,
0x19,
0x83,
0x30,
0x83,
0x13,
0x83,
0x36,
0x84,
0x09,
0x0b,
0x84,
0x08,
0x86,
0x07,
0x86,
0x07,
0x86,
0x07,
0x86,
0x07,
0x86,
0x07,
0x86,
0x07,
0x86,
0x07,
0x86,
0x07,
0x86,
0x06,
0x88,
0x05,
0x88,
0x05,
0x88,
0x05,
0x88,
0x05,
0x88,
0x05,
0x88,
0x05,
0x88,
0x05,
0x88,
0x05,
0x88,
0x05,
0x88,
0x04,
0x8a,
0x03,
0x8a,
0x03,
0x8a,
0x03,
0x8a,
0x03,
0x8a,
0x03,
0x8a,
0x03,
0x8a,
0x03,
0x8a,
0x03,
0x8a,
0x02,
0x8c,
0x01,
0x8c,
0x01,
0x8c,
0x01,
0x8c,
0x01,
0x8c,
0x01,
0x8c,
0x01,
0x8c,
0x01,
0x8c,
0x01,
0x8c,
0x00,
0xcb,
0x0c,
0x81,
0x0c,
0x81,
0x0c,
0x81,
0x0c,
0x80,
0x00,
0x80,
0x0a,
0x80,
0x01,
0x3d,
0x8d,
0x20};
const struct rle_bitmap comp_circle = { 80, 80, comp_circle_data };
static const uint8_t gps_receiving_data[] = {
0x06,
0x83,
0x0e,
0x80,
0x0a,
0x80,
0x81,
0x01,
0x80,
0x0a,
0x04,
0x82,
0x03,
0x80,
0x01,
0x80,
0x0a,
0x80,
0x01,
0x02,
0x81,
0x06,
0x80,
0x0a,
0x00,
0x80,
0x01,
0x80,
0x0a,
0x80,
0x81,
0x03,
0x81,
0x01,
0x80,
0x0a,
0x00,
0x80,
0x01,
0x80,
0x0a,
0x82,
0x00,
0x83,
0x03,
0x80,
0x01,
0x80,
0x0a,
0x80,
0x82,
0x02,
0x80,
0x08,
0x80,
0x03,
0x80,
0x08,
0x80,
0x03,
0x07,
0x83,
0x01,
0x80,
0x08,
0x01,
0x80,
0x05,
0x83,
0x03,
0x80,
0x06,
0x84,
0x00,
0x81,
0x07,
0x85,
0x0a,
0x81,
0x09,
0x84,
0x08,
0x86,
0x05};
const struct rle_bitmap gps_receiving = { 15, 15, gps_receiving_data };
static const uint8_t gps_searching_data[] = {
0x0c,
0x80,
0x03,
0x80,
0x08,
0x0c,
0x80,
0x13,
0x82,
0x03,
0x80,
0x08,
0x05,
0x81,
0x04,
0x80,
0x05,
0x81,
0x03,
0x81,
0x06,
0x82,
0x00,
0x83,
0x06,
0x82,
0x02,
0x80,
0x08,
0x80,
0x03,
0x07,
0x83,
0x01,
0x80,
0x08,
0x01,
0x80,
0x05,
0x83,
0x03,
0x80,
0x06,
0x84,
0x00,
0x81,
0x07,
0x85,
0x0a,
0x81,
0x09,
0x84,
0x08,
0x80,
0x86,
0x05};
const struct rle_bitmap gps_searching = { 15, 15, gps_searching_data };
static const uint8_t comp_ico_data[] = {
0x04,
0x80,
0x06,
0x80,
0x05,
0x02,
0x80,
0x06,
0x09,
0x81,
0x01,
0x80,
0x05,
0x09,
0x80,
0x06,
0x00,
0x80,
0x05,
0x00,
0x80,
0x06,
0x09,
0x80,
0x05,
0x01,
0x81,
0x09,
0x80,
0x06,
0x02,
0x80,
0x05,
0x1a,
0x80,
0x06,
0x0c,
0x82,
0x0a,
0x80,
0x05,
0x00,
0x80,
0x06,
0x00,
0x80,
0x05,
0x0b,
0x80,
0x06,
0x0d,
0x80,
0x05,
0x0d,
0x80,
0x06,
0x0d,
0x80,
0x06,
0x0d,
0x80,
0x04,
0x0d,
0x80,
0x06};
const struct rle_bitmap comp_ico = { 15, 15, comp_ico_data };
static const uint8_t usb_ms_icon_data[] = {
0x03,
0x86,
0x07,
0x80,
0x04,
0x80,
0x07,
0x80,
0x04,
0x00,
0x80,
0x07,
0x00,
0x80,
0x04,
0x00,
0x80,
0x07,
0x80,
0x04,
0x80,
0x07,
0x00,
0x80,
0x04,
0x00,
0x80,
0x07,
0x00,
0x80,
0x04,
0x06,
0x88,
0x05,
0x80,
0x07,
0x06,
0x80,
0x04,
0x05,
0x80,
0x07,
0x00,
0x84,
0x00,
0x80,
0x04,
0x05,
0x80,
0x08,
0x00,
0x80,
0x02,
0x80,
0x09,
0x00,
0x80,
0x02,
0x05,
0x80,
0x09,
0x00,
0x80,
0x02,
0x80,
0x09,
0x00,
0x80,
0x02,
0x05,
0x80,
0x09,
0x00,
0x80,
0x02,
0x80,
0x09,
0x00,
0x80,
0x02,
0x05,
0x80,
0x09,
0x00,
0x80,
0x02,
0x80,
0x09,
0x00,
0x80,
0x02,
0x05,
0x80,
0x09,
0x00,
0x80,
0x02,
0x80,
0x0a,
0x00,
0x80,
0x05,
0x80,
0x01,
0x82,
0x01,
0x80,
0x06,
0x80,
0x04,
0x80,
0x08,
0x84,
0x04};
const struct rle_bitmap usb_ms_icon = { 15, 15, usb_ms_icon_data };
static const uint8_t battery_data[] = {
0x8d,
0x00,
0x80,
0x0b,
......@@ -2913,11 +2946,25 @@ static const uint8_t comp_arrow2_data[] = {
0x00,
0x80,
0x0b,
0x82,
0x0b,
0x82,
0x0b,
0x82,
0x0b,
0x82,
0x0b,
0x82,
0x0b,
0x82,
0x0b,
0x80,
0x00,
0x80,
0x0b,
0x82,
0x05};
const struct rle_bitmap comp_arrow2 = { 15, 110, comp_arrow2_data };
0x80,
0x00,
0x8d,
0x00};
const struct rle_bitmap battery = { 15, 12, battery_data };
/*
* Copyright (C) 2014 Julian Lewis
*
* 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, you may find one here:
* http://www.gnu.org/licenses/gpl-3.0-standalone.html
* or you may search the http://www.gnu.org website for the version 3 license,
* or you may write to the Free Software Foundation, Inc.,
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef BITMAPS_H
#define BITMAPS_H
......@@ -31,22 +10,23 @@ struct rle_bitmap
const uint8_t *data;
};
extern const struct rle_bitmap comp_circle;
extern const struct rle_bitmap gps_disconnected;
extern const struct rle_bitmap comp_circle3;
extern const struct rle_bitmap date_icon;
extern const struct rle_bitmap comp_ico;
extern const struct rle_bitmap gps_receiving;
extern const struct rle_bitmap settings_icon;
extern const struct rle_bitmap comp_circle2;
extern const struct rle_bitmap game_ico;
extern const struct rle_bitmap tracking;
extern const struct rle_bitmap comp_arrow;
extern const struct rle_bitmap usb_ms_icon;
extern const struct rle_bitmap battery;
extern const struct rle_bitmap date_icon;
extern const struct rle_bitmap battery_charging;
extern const struct rle_bitmap comp_circle3;
extern const struct rle_bitmap clock_icon;
extern const struct rle_bitmap comp_arrow2;
extern const struct rle_bitmap gps_disconnected;
extern const struct rle_bitmap example_icon;
extern const struct rle_bitmap battery_charging;
extern const struct rle_bitmap comp_circle;
extern const struct rle_bitmap gps_receiving;
extern const struct rle_bitmap gps_searching;
extern const struct rle_bitmap settings_icon;
extern const struct rle_bitmap game_ico;
extern const struct rle_bitmap comp_arrow2;
extern const struct rle_bitmap comp_ico;
extern const struct rle_bitmap usb_ms_icon;
extern const struct rle_bitmap battery;
#endif /* BITMAPS_H */
......@@ -38,7 +38,7 @@
#include "../settings/settings.h"
static const unsigned int GPS_POS = 0;
static const unsigned int TRACK_POS = 36;
static const unsigned int TRACK_POS = 16;
static const unsigned int BATTERY_POS = 111;
static const unsigned int BATTERY_BARS = 10;
......@@ -70,21 +70,15 @@ static void status_bar_event(struct ui_widget *w, const struct event *evt)
} else {
memcpy(&gps_ico, 0, sizeof(struct rle_bitmap));
}
// if (setting_get(&setting_tracking))
// memset(&track_ico, &tracking, sizeof(struct rle_bitmap));
// else
// memset(&track_ico, 0, sizeof(struct rle_bitmap));
if (setting_get(&setting_tracking))
memcpy(&track_ico, &tracking, sizeof(struct rle_bitmap));
else
memset(&track_ico, 0, sizeof(struct rle_bitmap));
w->flags |= WF_DIRTY;
break;
// case GPS_TRACK_ON:
// w->flags |= WF_DIRTY;
// break;
//
// case GPS_TRACK_OFF:
// memset(&track_ico, 0, sizeof(struct rle_bitmap));
// w->flags |= WF_DIRTY;
// break;
break;
case BATTERY_STATUS:
if(abs(percentage - evt->data.battery.percentage) > 5 ||
......
......@@ -102,23 +102,15 @@ static void gpsbkgnd_task(void *params)
/*
* Tracking actions based on previous and current value of setting
* - ON to OFF -- take control of storage so we can store and inform other
* tasks that tracking has turned on
* - ON to OFF -- take control of storage so we can store
* - OFF to ON -- give control of storage so other tasks can store to it
* and inform other tasks that tracking has been turned off
*/
ptrack = track;
track = setting_get(&setting_tracking);
if (track) {
if (!ptrack || firstrun) {
if ((track) && (!ptrack || firstrun)) {
take_storage();
// e.type = GPS_TRACK_ON;
// xQueueSendToBack(appQueue, &e, 0);
}
} else if (ptrack) {
give_storage();
// e.type = GPS_TRACK_OFF;
// xQueueSendToBack(appQueue, &e, 0);
}
/* Set time and track according to setting */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment