BigW Consortium Gitlab

Commit 4f3e26b6 by Gabor Kiss-Vamosi Committed by GitHub

Merge pull request #9 from ajaybhargav/font_icon

lv_misc: Add icons as fonts
parents 8296570d f47f9994
......@@ -16,6 +16,34 @@
/*********************
* 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
......
#include "lv_conf.h"
#if USE_FONT_SYMBOL_60 != 0
......@@ -1620,6 +1619,7 @@ static const uint8_t symbol_60_bitmaps[12480] =
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, // ----------------------------------------------------------------
};
static const uint8_t symbol_60_widths[26] =
{
60, 51, 64, 47, 51, 51, 60, 47,
......
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