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
2b62b97b
Commit
2b62b97b
authored
Sep 17, 2014
by
=
Committed by
Projects
Sep 28, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bitmaps: Icons for settings & clock.
parent
b336adff
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
173 additions
and
56 deletions
+173
-56
bitmaps.c
sw/bitmaps/bitmaps.c
+169
-54
bitmaps.h
sw/bitmaps/bitmaps.h
+4
-2
clock_icon.bmp
sw/bitmaps/clock_icon.bmp
+0
-0
settings_icon.bmp
sw/bitmaps/settings_icon.bmp
+0
-0
No files found.
sw/bitmaps/bitmaps.c
View file @
2b62b97b
#include <bitmaps.h>
static
const
uint8_t
example_icon_data
[]
=
{
0x2e
,
0x81
,
0x05
,
0x81
,
0x04
,
0x81
,
0x05
,
0x82
,
0x16
,
0x80
,
0x0d
,
static
const
uint8_t
gps_disconnected_data
[]
=
{
0x0a
,
0x80
,
0x0d
,
0x80
,
0x08
,
0x80
,
0x09
,
0x0b
,
0x84
,
0x03
,
0x82
,
0x04
,
0x80
,
0x02
,
0x04
,
0x81
,
0x06
,
0x80
,
0x0
8
,
0x0
3
,
0x81
,
0x0
2
,
0x0
3
,
0x81
,
0x06
,
0x8
1
,
0x0
4
,
0x8
2
,
0x0
0
,
0x83
,
0x0
1
,
0x0
6
,
0x82
,
0x08
,
0x02
,
0x80
,
0x07
,
0x83
,
0x14
};
const
struct
rle_bitmap
example_icon
=
{
15
,
15
,
example_icon_data
};
0x01
,
0x80
,
0x01
,
0x80
,
0x05
,
0x83
,
0x03
,
0x80
,
0x06
,
0x84
,
0x00
,
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
gps_receiving_data
[]
=
{
0x06
,
...
...
@@ -135,57 +151,118 @@ static const uint8_t battery_data[] = {
0x00
};
const
struct
rle_bitmap
battery
=
{
15
,
12
,
battery_data
};
static
const
uint8_t
gps_disconnected_data
[]
=
{
0x0a
,
0x80
,
0x0d
,
0x80
,
0x0b
,
0x84
,
static
const
uint8_t
clock_icon_data
[]
=
{
0x03
,
0x82
,
0x00
,
0x84
,
0x07
,
0x00
,
0x80
,
0x04
,
0x80
,
0x00
,
0x04
,
0x81
,
0x06
,
0x80
,
0x03
,
0x8
1
,
0x8
0
,
0x03
,
0x81
,
0x06
,
0x82
,
0x00
,
0x83
,
0x06
,
0x82
,
0x80
,
0x02
,
0x00
,
0x04
,
0x80
,
0x0
7
,
0x
83
,
0x0
4
,
0x
00
,
0x01
,
0x80
,
0x01
,
0x04
,
0x80
,
0x04
,
0x80
,
0x00
,
0x00
,
0x05
,
0x83
,
0x03
,
0x80
,
0x06
,
0x84
,
0x05
,
0x00
,
0x80
,
0x05
,
0x80
,
0x05
,
0x81
,
0x05
,
0x80
,
0x05
,
0x81
,
0x06
,
0x80
,
0x04
,
0x80
,
0x00
,
0x07
,
0x85
,
0x80
,
0x03
,
0x00
,
0x00
,
0x80
,
0x0a
,
0x80
,
0x01
,
0x00
,
0x0a
,
0x00
,
0x02
,
0x80
,
0x08
,
0x80
,
0x04
,
0x00
,
0x80
,
0x04
,
0x80
,
0x00
,
0x07
,
0x00
,
0x82
,
0x00
,
0x04
};
const
struct
rle_bitmap
clock_icon
=
{
15
,
15
,
clock_icon_data
};
static
const
uint8_t
example_icon_data
[]
=
{
0x2e
,
0x81
,
0x05
,
0x81
,
0x04
,
0x81
,
0x05
,
0x82
,
0x16
,
0x80
,
0x0d
,
0x80
,
0x0d
,
0x80
,
0x08
,
0x80
,
0x09
,
0x84
,
0x80
,
0x02
,
0x80
,
0x08
,
0x86
,
0x05
};
const
struct
rle_bitmap
gps_disconnected
=
{
15
,
15
,
gps_disconnected_data
};
0x81
,
0x02
,
0x81
,
0x06
,
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
,
...
...
@@ -284,3 +361,41 @@ static const uint8_t gps_searching_data[] = {
0x05
};
const
struct
rle_bitmap
gps_searching
=
{
15
,
15
,
gps_searching_data
};
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
};
sw/bitmaps/bitmaps.h
View file @
2b62b97b
...
...
@@ -10,11 +10,13 @@ struct rle_bitmap
const
uint8_t
*
data
;
};
extern
const
struct
rle_bitmap
example_icon
;
extern
const
struct
rle_bitmap
gps_disconnected
;
extern
const
struct
rle_bitmap
gps_receiving
;
extern
const
struct
rle_bitmap
battery
;
extern
const
struct
rle_bitmap
gps_disconnected
;
extern
const
struct
rle_bitmap
clock_icon
;
extern
const
struct
rle_bitmap
example_icon
;
extern
const
struct
rle_bitmap
battery_charging
;
extern
const
struct
rle_bitmap
gps_searching
;
extern
const
struct
rle_bitmap
settings_icon
;
#endif
/* BITMAPS_H */
sw/bitmaps/clock_icon.bmp
0 → 100644
View file @
2b62b97b
842 Bytes
sw/bitmaps/settings_icon.bmp
0 → 100644
View file @
2b62b97b
842 Bytes
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