Merge pull request #9 from ajaybhargav/font_icon
lv_misc: Add icons as fonts
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
#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] =
|
|||||||
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,
|
||||||
|
|||||||
Reference in New Issue
Block a user