Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
F
fwatch
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
8
Issues
8
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
fwatch
Commits
ea178110
Commit
ea178110
authored
Jan 30, 2015
by
Theodor-Adrian Stana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added reset icon and attached to reset app
parent
ab1f3aa6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
71 additions
and
14 deletions
+71
-14
bitmaps.c
sw/bitmaps/bitmaps.c
+36
-0
bitmaps.h
sw/bitmaps/bitmaps.h
+34
-13
reset_icon.bmp
sw/bitmaps/reset_icon.bmp
+0
-0
menu_struct.c
sw/freewatch/src/apps/menu_struct.c
+1
-1
No files found.
sw/bitmaps/bitmaps.c
View file @
ea178110
...
...
@@ -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
};
sw/bitmaps/bitmaps.h
View file @
ea178110
/*
* 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 */
sw/bitmaps/reset_icon.bmp
0 → 100644
View file @
ea178110
774 Bytes
sw/freewatch/src/apps/menu_struct.c
View file @
ea178110
...
...
@@ -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
}
}
}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment