Commit ea178110 authored by Theodor-Adrian Stana's avatar Theodor-Adrian Stana

Added reset icon and attached to reset app

parent ab1f3aa6
......@@ -3002,3 +3002,39 @@ static const uint8_t tracking_data[] = {
0x80};
const struct rle_bitmap tracking = { 15, 15, tracking_data };
static const uint8_t reset_icon_data[] = {
0x04,
0x80,
0x0c,
0x80,
0x0c,
0x87,
0x07,
0x80,
0x05,
0x80,
0x07,
0x80,
0x05,
0x80,
0x0d,
0x80,
0x0d,
0x80,
0x0d,
0x80,
0x0d,
0x80,
0x0d,
0x80,
0x0d,
0x80,
0x0d,
0x80,
0x0c,
0x80,
0x05,
0x87,
0x12};
const struct rle_bitmap reset_icon = { 15, 15, reset_icon_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
......@@ -10,23 +30,24 @@ struct rle_bitmap
const uint8_t *data;
};
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 tracking;
extern const struct rle_bitmap comp_circle2;
extern const struct rle_bitmap game_ico;
extern const struct rle_bitmap settings_icon;
extern const struct rle_bitmap comp_circle;
extern const struct rle_bitmap usb_ms_icon;
extern const struct rle_bitmap comp_circle2;
extern const struct rle_bitmap comp_circle3;
extern const struct rle_bitmap comp_arrow;
extern const struct rle_bitmap comp_ico;
extern const struct rle_bitmap comp_arrow2;
extern const struct rle_bitmap date_icon;
extern const struct rle_bitmap gps_receiving;
extern const struct rle_bitmap comp_arrow;
extern const struct rle_bitmap example_icon;
extern const struct rle_bitmap gps_searching;
extern const struct rle_bitmap gps_disconnected;
extern const struct rle_bitmap usb_ms_icon;
extern const struct rle_bitmap battery;
extern const struct rle_bitmap battery_charging;
extern const struct rle_bitmap clock_icon;
extern const struct rle_bitmap comp_ico;
extern const struct rle_bitmap battery;
extern const struct rle_bitmap gps_searching;
extern const struct rle_bitmap example_icon;
extern const struct rle_bitmap settings_icon;
extern const struct rle_bitmap game_ico;
extern const struct rle_bitmap tracking;
extern const struct rle_bitmap reset_icon;
#endif /* BITMAPS_H */
......@@ -72,7 +72,7 @@ menu_list main_menu = {
#ifndef DEBUG
{ APP, &usb_ms_icon, { .app = &usb_ms } },
#endif /* DEBUG */
{ APP, NULL, { .app = &reset} },
{ APP, &reset_icon, { .app = &reset} },
{ END, NULL, { NULL } }
}
};
......
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