BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lvgl
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
lvgl
Commits
4f3e26b6
Commit
4f3e26b6
authored
Jan 16, 2017
by
Gabor Kiss-Vamosi
Committed by
GitHub
Jan 16, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #9 from ajaybhargav/font_icon
lv_misc: Add icons as fonts
parents
8296570d
f47f9994
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
29 additions
and
1 deletion
+29
-1
font.h
lv_misc/font.h
+28
-0
symbol_60.c
lv_misc/fonts/symbol_60.c
+1
-1
No files found.
lv_misc/font.h
View file @
4f3e26b6
...
@@ -16,6 +16,34 @@
...
@@ -16,6 +16,34 @@
/*********************
/*********************
* DEFINES
* DEFINES
*********************/
*********************/
#if USE_FONT_SYMBOL_30 || USE_FONT_SYMBOL_60
#define SYMBOL_DRIVE "a"
#define SYMBOL_FILE "b"
#define SYMBOL_FOLDER "c"
#define SYMBOL_DELETE "d"
#define SYMBOL_SAVE "e"
#define SYMBOL_EDIT "f"
#define SYMBOL_OK "g"
#define SYMBOL_CLOSE "h"
#define SYMBOL_DOWN "i"
#define SYMBOL_LEFT "j"
#define SYMBOL_RIGHT "k"
#define SYMBOL_UP "l"
#define SYMBOL_BT "m"
#define SYMBOL_THERM "n"
#define SYMBOL_GPS "o"
#define SYMBOL_WARN "p"
#define SYMBOL_INFO "q"
#define SYMBOL_BATT1 "r"
#define SYMBOL_BATT2 "s"
#define SYMBOL_BATT3 "t"
#define SYMBOL_BATT4 "u"
#define SYMBOL_BATTCH "v"
#define SYMBOL_HELP "w"
#define SYMBOL_POWER "x"
#define SYMBOL_SETUP "y"
#define SYMBOL_WIFI "z"
#endif
/**********************
/**********************
* TYPEDEFS
* TYPEDEFS
...
...
lv_misc/fonts/symbol_60.c
View file @
4f3e26b6
#include "lv_conf.h"
#include "lv_conf.h"
#if USE_FONT_SYMBOL_60 != 0
#if USE_FONT_SYMBOL_60 != 0
...
@@ -1620,6 +1619,7 @@ static const uint8_t symbol_60_bitmaps[12480] =
...
@@ -1620,6 +1619,7 @@ static const uint8_t symbol_60_bitmaps[12480] =
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
// ----------------------------------------------------------------
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
0x00
,
// ----------------------------------------------------------------
};
};
static
const
uint8_t
symbol_60_widths
[
26
]
=
static
const
uint8_t
symbol_60_widths
[
26
]
=
{
{
60
,
51
,
64
,
47
,
51
,
51
,
60
,
47
,
60
,
51
,
64
,
47
,
51
,
51
,
60
,
47
,
...
...
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