BigW Consortium Gitlab

Commit 133bfe16 by Gabor Kiss-Vamosi

add new fonts

parent b0e26d86
...@@ -68,7 +68,9 @@ static void (*px_fp)(lv_coord_t x, lv_coord_t y, const lv_area_t * mask, lv_colo ...@@ -68,7 +68,9 @@ static void (*px_fp)(lv_coord_t x, lv_coord_t y, const lv_area_t * mask, lv_colo
static void (*fill_fp)(const lv_area_t * coords, const lv_area_t * mask, lv_color_t color, lv_opa_t opa) = lv_vfill; static void (*fill_fp)(const lv_area_t * coords, const lv_area_t * mask, lv_color_t color, lv_opa_t opa) = lv_vfill;
static void (*letter_fp)(const lv_point_t * pos_p, const lv_area_t * mask, const lv_font_t * font_p, uint32_t letter, lv_color_t color, lv_opa_t opa) = lv_vletter; static void (*letter_fp)(const lv_point_t * pos_p, const lv_area_t * mask, const lv_font_t * font_p, uint32_t letter, lv_color_t color, lv_opa_t opa) = lv_vletter;
#if USE_LV_IMG #if USE_LV_IMG
static void (*map_fp)(const lv_area_t * coords, const lv_area_t * mask, const lv_color_t * map_p, lv_opa_t opa, bool transp, bool upscale, lv_color_t recolor, lv_opa_t recolor_opa) = lv_vmap; static void (*map_fp)(const lv_area_t * cords_p, const lv_area_t * mask_p,
const uint8_t * map_p, lv_opa_t opa, bool chroma_key, bool alpha_byte,
lv_color_t recolor, lv_opa_t recolor_opa) = lv_vmap;
#endif #endif
#else #else
/* px_fp used only by shadow drawing the shadows are not drawn with out VDB /* px_fp used only by shadow drawing the shadows are not drawn with out VDB
...@@ -402,114 +404,116 @@ void lv_draw_label(const lv_area_t * coords,const lv_area_t * mask, const lv_sty ...@@ -402,114 +404,116 @@ void lv_draw_label(const lv_area_t * coords,const lv_area_t * mask, const lv_sty
* @param opa opacity of the image (0..255) * @param opa opacity of the image (0..255)
*/ */
void lv_draw_img(const lv_area_t * coords, const lv_area_t * mask, void lv_draw_img(const lv_area_t * coords, const lv_area_t * mask,
const lv_style_t * style, const char * fn) const lv_style_t * style, const char * fn, const lv_img_dsc_t * data)
{ {
if(fn == NULL) { if(fn == NULL && data == NULL) {
lv_draw_rect(coords, mask, &lv_style_plain); lv_draw_rect(coords, mask, &lv_style_plain);
lv_draw_label(coords, mask, &lv_style_plain, "No data", LV_TXT_FLAG_NONE, NULL); lv_draw_label(coords, mask, &lv_style_plain, "No data", LV_TXT_FLAG_NONE, NULL);
} else { }
lv_area_t coord_aa; else if(data) {
lv_area_t mask_aa;
#if LV_ANTIALIAS == 0
lv_area_copy(&coord_aa, coords);
lv_area_copy(&mask_aa, mask);
#else
coord_aa.x1 = coords->x1 << LV_AA;
coord_aa.y1 = coords->y1 << LV_AA;
coord_aa.x2 = (coords->x2 << LV_AA) + 1;
coord_aa.y2 = (coords->y2 << LV_AA) + 1;
mask_aa.x1 = mask->x1 << LV_AA;
mask_aa.y1 = mask->y1 << LV_AA;
mask_aa.x2 = (mask->x2 << LV_AA) + 1;
mask_aa.y2 = (mask->y2 << LV_AA) + 1;
#endif
lv_fs_file_t file;
lv_fs_res_t res = lv_fs_open(&file, fn, LV_FS_MODE_RD);
if(res == LV_FS_RES_OK) {
lv_img_raw_header_t header;
uint32_t br;
res = lv_fs_read(&file, &header, sizeof(lv_img_raw_header_t), &br);
lv_area_t mask_com; /*Common area of mask and cords*/ lv_area_t mask_com; /*Common area of mask and coords*/
bool union_ok; bool union_ok;
union_ok = lv_area_union(&mask_com, &mask_aa, &coord_aa); union_ok = lv_area_union(&mask_com, mask, coords);
if(union_ok == false) { if(union_ok == false) {
lv_fs_close(&file); return; /*Out of mask*/
return;
} }
map_fp(coords, mask, data->pixel_map, style->image.opa, data->chroma_key, data->alpha, style->image.color, style->image.intense);
/*If the width is greater then real img. width then it is upscaled */
bool upscale = false;
#if LV_ANTIALIAS
if(lv_area_get_width(coords) < header.w) {
upscale = false;
lv_area_set_width(&coord_aa, header.w);
}
else upscale = true;
#endif
bool const_data = false;
/*If the img. data is inside the MCU then do not use FS reading just a pointer*/
if(fn[0] == UFS_LETTER) {
const_data = true;
uint8_t * f_data = ((lv_ufs_file_t*)file.file_d)->ent->data_d;
f_data += sizeof(lv_img_raw_header_t);
map_fp(&coord_aa, &mask_com, (void*)f_data , style->image.opa, header.transp, upscale, style->image.color, style->image.intense);
}
/*Read the img. with the FS interface*/
if(const_data == false) {
uint8_t us_shift = 0;
uint8_t us_val = 1;
if(upscale != false) {
us_shift = 1;
us_val = 2;
}
/* Move the file pointer to the start address according to mask
* But take care, the upscaled maps look greater*/
uint32_t start_offset = sizeof(lv_img_raw_header_t);
start_offset += (lv_area_get_width(&coord_aa) >> us_shift) *
((mask_com.y1 - coord_aa.y1) >> us_shift) * sizeof(lv_color_t); /*First row*/
start_offset += ((mask_com.x1 - coord_aa.x1) >> us_shift) * sizeof(lv_color_t); /*First col*/
lv_fs_seek(&file, start_offset);
uint32_t useful_data = (lv_area_get_width(&mask_com) >> us_shift) * sizeof(lv_color_t);
uint32_t next_row = (lv_area_get_width(&coord_aa) >> us_shift) * sizeof(lv_color_t) - useful_data;
lv_area_t line;
lv_area_copy(&line, &mask_com);
lv_area_set_height(&line, us_val); /*Create a line area. Hold 2 pixels if upscaled*/
lv_coord_t row;
uint32_t act_pos;
lv_color_t buf[useful_data];
for(row = mask_com.y1; row <= mask_com.y2; row += us_val) {
res = lv_fs_read(&file, buf, useful_data, &br);
map_fp(&line, &mask_com, buf, style->image.opa, header.transp, upscale,
style->image.color, style->image.intense);
lv_fs_tell(&file, &act_pos);
lv_fs_seek(&file, act_pos + next_row);
line.y1 += us_val; /*Go down a line*/
line.y2 += us_val;
}
}
}
lv_fs_close(&file);
if(res != LV_FS_RES_OK) {
lv_draw_rect(coords, mask, &lv_style_plain);
lv_draw_label(coords, mask, &lv_style_plain, "No data", LV_TXT_FLAG_NONE, NULL);
} }
else {
// lv_area_t coord_aa;
// lv_area_t mask_aa;
//
//#if LV_ANTIALIAS == 0
// lv_area_copy(&coord_aa, coords);
// lv_area_copy(&mask_aa, mask);
//
// lv_fs_file_t file;
// lv_fs_res_t res = lv_fs_open(&file, fn, LV_FS_MODE_RD);
// if(res == LV_FS_RES_OK) {
// lv_img_raw_header_t header;
// uint32_t br;
// res = lv_fs_read(&file, &header, sizeof(lv_img_raw_header_t), &br);
//
// lv_area_t mask_com; /*Common area of mask and cords*/
// bool union_ok;
// union_ok = lv_area_union(&mask_com, &mask_aa, &coord_aa);
// if(union_ok == false) {
// lv_fs_close(&file);
// return;
// }
//
//
// /*If the width is greater then real img. width then it is upscaled */
// bool upscale = false;
//#if LV_ANTIALIAS
// if(lv_area_get_width(coords) < header.w) {
// upscale = false;
// lv_area_set_width(&coord_aa, header.w);
// }
// else upscale = true;
//
//#endif
//
// bool const_data = false;
//
// /*If the img. data is inside the MCU then do not use FS reading just a pointer*/
// if(fn[0] == UFS_LETTER) {
// const_data = true;
// uint8_t * f_data = ((lv_ufs_file_t*)file.file_d)->ent->data_d;
// f_data += sizeof(lv_img_raw_header_t);
// map_fp(&coord_aa, &mask_com, (void*)f_data , style->image.opa, header.transp, upscale, style->image.color, style->image.intense);
// }
//
// /*Read the img. with the FS interface*/
// if(const_data == false) {
// uint8_t us_shift = 0;
// uint8_t us_val = 1;
// if(upscale != false) {
// us_shift = 1;
// us_val = 2;
// }
//
// /* Move the file pointer to the start address according to mask
// * But take care, the upscaled maps look greater*/
// uint32_t start_offset = sizeof(lv_img_raw_header_t);
// start_offset += (lv_area_get_width(&coord_aa) >> us_shift) *
// ((mask_com.y1 - coord_aa.y1) >> us_shift) * sizeof(lv_color_t); /*First row*/
// start_offset += ((mask_com.x1 - coord_aa.x1) >> us_shift) * sizeof(lv_color_t); /*First col*/
// lv_fs_seek(&file, start_offset);
//
// uint32_t useful_data = (lv_area_get_width(&mask_com) >> us_shift) * sizeof(lv_color_t);
// uint32_t next_row = (lv_area_get_width(&coord_aa) >> us_shift) * sizeof(lv_color_t) - useful_data;
//
// lv_area_t line;
// lv_area_copy(&line, &mask_com);
// lv_area_set_height(&line, us_val); /*Create a line area. Hold 2 pixels if upscaled*/
//
// lv_coord_t row;
// uint32_t act_pos;
// lv_color_t buf[useful_data];
// for(row = mask_com.y1; row <= mask_com.y2; row += us_val) {
// res = lv_fs_read(&file, buf, useful_data, &br);
//
// map_fp(&line, &mask_com, buf, style->image.opa, header.transp, upscale,
// style->image.color, style->image.intense);
//
// lv_fs_tell(&file, &act_pos);
// lv_fs_seek(&file, act_pos + next_row);
// line.y1 += us_val; /*Go down a line*/
// line.y2 += us_val;
// }
// }
// }
//
// lv_fs_close(&file);
//
// if(res != LV_FS_RES_OK) {
// lv_draw_rect(coords, mask, &lv_style_plain);
// lv_draw_label(coords, mask, &lv_style_plain, "No data", LV_TXT_FLAG_NONE, NULL);
// }
} }
} }
#endif #endif
......
...@@ -31,10 +31,21 @@ typedef struct ...@@ -31,10 +31,21 @@ typedef struct
uint32_t w:12; /*Width of the image map*/ uint32_t w:12; /*Width of the image map*/
uint32_t h:12; /*Height of the image map*/ uint32_t h:12; /*Height of the image map*/
uint32_t transp:1; /*1: The image contains transparent pixels with LV_COLOR_TRANSP color*/ uint32_t transp:1; /*1: The image contains transparent pixels with LV_COLOR_TRANSP color*/
uint32_t cd:3; /*Color depth (0: reserved, 1: 8 bit, 2: 16 bit or 3: 24 bit, 4-7: reserved)*/ uint32_t alpha :1; /*Every pixel is extended with a 8 bit alpha channel*/
uint32_t res :4; /*Reserved*/
}lv_img_raw_header_t; }lv_img_raw_header_t;
/* Image header it is compatible with
* the result image converter utility*/
typedef struct
{
uint32_t w:12; /*Width of the image map*/
uint32_t h:12; /*Height of the image map*/
uint32_t chroma_key:1; /*1: The image contains transparent pixels with LV_COLOR_TRANSP color*/
uint32_t alpha :1; /*Every pixel is extended with a 8 bit alpha channel*/
const uint8_t * pixel_map;
}lv_img_dsc_t;
/********************** /**********************
* GLOBAL PROTOTYPES * GLOBAL PROTOTYPES
**********************/ **********************/
...@@ -79,8 +90,8 @@ void lv_draw_label(const lv_area_t * cords_p,const lv_area_t * mask_p, const lv_ ...@@ -79,8 +90,8 @@ void lv_draw_label(const lv_area_t * cords_p,const lv_area_t * mask_p, const lv_
* @param mask_p the image will be drawn only in this area * @param mask_p the image will be drawn only in this area
* @param map_p pointer to a lv_color_t array which contains the pixels of the image * @param map_p pointer to a lv_color_t array which contains the pixels of the image
*/ */
void lv_draw_img(const lv_area_t * cords_p, const lv_area_t * mask_p, void lv_draw_img(const lv_area_t * coords, const lv_area_t * mask,
const lv_style_t * style_p, const char * fn); const lv_style_t * style, const char * fn, const lv_img_dsc_t * data);
#endif #endif
/** /**
......
...@@ -69,7 +69,7 @@ void lv_vletter(const lv_point_t * pos_p, const lv_area_t * mask_p, ...@@ -69,7 +69,7 @@ void lv_vletter(const lv_point_t * pos_p, const lv_area_t * mask_p,
* @param recolor_opa the intense of recoloring * @param recolor_opa the intense of recoloring
*/ */
void lv_vmap(const lv_area_t * cords_p, const lv_area_t * mask_p, void lv_vmap(const lv_area_t * cords_p, const lv_area_t * mask_p,
const lv_color_t * map_p, lv_opa_t opa, bool transp, bool upscale, const uint8_t * map_p, lv_opa_t opa, bool chroma_key, bool alpha_byte,
lv_color_t recolor, lv_opa_t recolor_opa); lv_color_t recolor, lv_opa_t recolor_opa);
......
...@@ -48,8 +48,10 @@ typedef struct _lv_font_struct ...@@ -48,8 +48,10 @@ typedef struct _lv_font_struct
uint8_t h_px; uint8_t h_px;
const uint8_t * glyph_bitmap; const uint8_t * glyph_bitmap;
const lv_font_glyph_dsc_t * glyph_dsc; const lv_font_glyph_dsc_t * glyph_dsc;
const uint32_t * unicode_list;
const uint8_t * (*get_bitmap)(const struct _lv_font_struct * ,uint32_t);
struct _lv_font_struct * next_page; /*Pointer to a font extension*/ struct _lv_font_struct * next_page; /*Pointer to a font extension*/
uint32_t bpp :3; /*Bit per pixel: 1, 2 or 4*/ uint32_t bpp :4; /*Bit per pixel: 1, 2 or 4*/
}lv_font_t; }lv_font_t;
/********************** /**********************
...@@ -87,17 +89,6 @@ static inline uint8_t lv_font_get_height(const lv_font_t * font_p) ...@@ -87,17 +89,6 @@ static inline uint8_t lv_font_get_height(const lv_font_t * font_p)
} }
/** /**
* Get the height of a font. Give the real size on the screen (half size if LV_FONT_ANTIALIAS is enabled)
* @param font_p pointer to a font
* @return the height of a font
*/
static inline uint8_t lv_font_get_height_scale(const lv_font_t * font_p)
{
return (font_p->h_px >> LV_FONT_ANTIALIAS) >> LV_ANTIALIAS;
}
/**
* Get the width of a letter in a font * Get the width of a letter in a font
* @param font_p pointer to a font * @param font_p pointer to a font
* @param letter a letter * @param letter a letter
...@@ -106,78 +97,104 @@ static inline uint8_t lv_font_get_height_scale(const lv_font_t * font_p) ...@@ -106,78 +97,104 @@ static inline uint8_t lv_font_get_height_scale(const lv_font_t * font_p)
uint8_t lv_font_get_width(const lv_font_t * font_p, uint32_t letter); uint8_t lv_font_get_width(const lv_font_t * font_p, uint32_t letter);
/** /**
* Get the width of a letter in a font )Give the real size on the screen (half size if LV_FONT_ANTIALIAS is enabled) * Get the bit-per-pixel of font
* @param font_p pointer to a font * @param font pointer to font
* @param letter a letter * @param letter a letter from font (font extensions can have different bpp)
* @return the width of a letter * @return bpp of the font (or font extension)
*/ */
static inline uint8_t lv_font_get_width_scale(const lv_font_t * font_p, uint32_t letter) uint8_t lv_font_get_bpp(lv_font_t * font, uint32_t letter);
{
return (lv_font_get_width(font_p, letter) >> LV_FONT_ANTIALIAS) >> LV_ANTIALIAS; /**
} * Generic bitmap get function used in 'font->get_bitmap' when the font contains all characters in the range
* @param font pointer to font
* @param unicode_letter an unicode letter which bitmap should be get
* @return pointer to the bitmap or NULL if not found
*/
const uint8_t * lv_font_get_bitmap_continuous(const lv_font_t * font, uint32_t unicode_letter);
/**
* Generic bitmap get function used in 'font->get_bitmap' when the font NOT contains all characters in the range (sparse)
* @param font pointer to font
* @param unicode_letter an unicode letter which bitmap should be get
* @return pointer to the bitmap or NULL if not found
*/
const uint8_t * lv_font_get_bitmap_sparse(const lv_font_t * font, uint32_t unicode_letter);
/********************** /**********************
* MACROS * MACROS
**********************/ **********************/
/*********************** /***********************
* POST INCLUDES * FONT DECLARATION INCLUDES
***********************/ ***********************/
/*Add built-in fonts*/
/*10 px */
#include "lv_fonts/dejavu_10.h" #if USE_LV_FONT_DEJAVU_10
#include "lv_fonts/dejavu_10_sup.h" extern lv_font_t lv_font_dejavu_10;
#include "lv_fonts/dejavu_10_latin_ext_a.h" #endif
#include "lv_fonts/dejavu_10_latin_ext_b.h"
#include "lv_fonts/dejavu_10_cyrillic.h" #if USE_LV_FONT_DEJAVU_10_LATIN_SUP
#include "lv_fonts/symbol_10_basic.h" extern lv_font_t lv_font_dejavu_10_latin_sup;
#include "lv_fonts/symbol_10_file.h" #endif
#include "lv_fonts/symbol_10_feedback.h"
#if USE_LV_FONT_DEJAVU_10_CYRILLIC
#include "lv_fonts/dejavu_20.h" extern lv_font_t lv_font_dejavu_10_cyrillic;
#include "lv_fonts/dejavu_20_sup.h" #endif
#include "lv_fonts/dejavu_20_latin_ext_a.h"
#include "lv_fonts/dejavu_20_latin_ext_b.h" #if USE_LV_FONT_SYMBOL_10
#include "lv_fonts/dejavu_20_cyrillic.h" extern lv_font_t lv_font_symbol_10;
#include "lv_fonts/symbol_20_basic.h" #endif
#include "lv_fonts/symbol_20_file.h"
#include "lv_fonts/symbol_20_feedback.h" /*20 px */
#if USE_LV_FONT_DEJAVU_20
#include "lv_fonts/dejavu_30.h" extern lv_font_t lv_font_dejavu_20;
#include "lv_fonts/dejavu_30_sup.h" #endif
#include "lv_fonts/dejavu_30_latin_ext_a.h"
#include "lv_fonts/dejavu_30_latin_ext_b.h" #if USE_LV_FONT_DEJAVU_20_LATIN_SUP
#include "lv_fonts/dejavu_30_cyrillic.h" extern lv_font_t lv_font_dejavu_20_latin_sup;
#include "lv_fonts/symbol_30_basic.h" #endif
#include "lv_fonts/symbol_30_file.h"
#include "lv_fonts/symbol_30_feedback.h" #if USE_LV_FONT_DEJAVU_20_CYRILLIC
extern lv_font_t lv_font_dejavu_20_cyrillic;
#include "lv_fonts/dejavu_40.h" #endif
#include "lv_fonts/dejavu_40_sup.h"
#include "lv_fonts/dejavu_40_latin_ext_a.h" #if USE_LV_FONT_SYMBOL_20
#include "lv_fonts/dejavu_40_latin_ext_b.h" extern lv_font_t lv_font_symbol_20;
#include "lv_fonts/dejavu_40_cyrillic.h" #endif
#include "lv_fonts/symbol_40_basic.h"
#include "lv_fonts/symbol_40_file.h" /*30 px */
#include "lv_fonts/symbol_40_feedback.h" #if USE_LV_FONT_DEJAVU_30
extern lv_font_t lv_font_dejavu_30;
#include "lv_fonts/dejavu_60.h" #endif
#include "lv_fonts/dejavu_60_sup.h"
#include "lv_fonts/dejavu_60_latin_ext_a.h" #if USE_LV_FONT_DEJAVU_30_LATIN_SUP
#include "lv_fonts/dejavu_60_latin_ext_b.h" extern lv_font_t lv_font_dejavu_30_latin_sup;
#include "lv_fonts/dejavu_60_cyrillic.h" #endif
#include "lv_fonts/symbol_60_basic.h"
#include "lv_fonts/symbol_60_file.h" #if USE_LV_FONT_DEJAVU_30_CYRILLIC
#include "lv_fonts/symbol_60_feedback.h" extern lv_font_t lv_font_dejavu_30_cyrillic;
#endif
#include "lv_fonts/dejavu_80.h"
#include "lv_fonts/dejavu_80_sup.h" #if USE_LV_FONT_SYMBOL_30
#include "lv_fonts/dejavu_80_latin_ext_a.h" extern lv_font_t lv_font_symbol_30;
#include "lv_fonts/dejavu_80_latin_ext_b.h" #endif
#include "lv_fonts/dejavu_80_cyrillic.h"
#include "lv_fonts/symbol_80_basic.h" /*40 px */
#include "lv_fonts/symbol_80_file.h" #if USE_LV_FONT_DEJAVU_40
#include "lv_fonts/symbol_80_feedback.h" extern lv_font_t lv_font_dejavu_40;
#endif
#if USE_LV_FONT_DEJAVU_40_LATIN_SUP
extern lv_font_t lv_font_dejavu_40_latin_sup;
#endif
#if USE_LV_FONT_DEJAVU_40_CYRILLIC
extern lv_font_t lv_font_dejavu_40_cyrillic;
#endif
#if USE_LV_FONT_SYMBOL_40
extern lv_font_t lv_font_symbol_40;
#endif
#ifdef __cplusplus #ifdef __cplusplus
} /* extern "C" */ } /* extern "C" */
......
#ifndef DEJAVU_10_H
#define DEJAVU_10_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_10
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_10;
#endif /*USE_LV_FONT_DEJAVU_10*/
#endif /*DEJAVU_10_H*/
\ No newline at end of file
#ifndef DEJAVU_10_CYRILLIC_H
#define DEJAVU_10_CYRILLIC_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_10_CYRILLIC
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_10_cyrillic;
#endif /*USE_LV_FONT_DEJAVU_10_CYRILLIC*/
#endif /*DEJAVU_10_CYRILLIC_H*/
\ No newline at end of file
#ifndef DEJAVU_10_LATIN_EXT_A_H
#define DEJAVU_10_LATIN_EXT_A_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_10_LATIN_EXT_A
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_10_latin_ext_a;
#endif /*USE_LV_FONT_DEJAVU_10_LATIN_EXT_A*/
#endif /*DEJAVU_10_LATIN_EXT_A_H*/
\ No newline at end of file
#ifndef DEJAVU_10_LATIN_EXT_B_H
#define DEJAVU_10_LATIN_EXT_B_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_10_LATIN_EXT_B
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_10_latin_ext_b;
#endif /*USE_LV_FONT_DEJAVU_10_LATIN_EXT_B*/
#endif /*DEJAVU_10_LATIN_EXT_B_H*/
\ No newline at end of file
#ifndef DEJAVU_10_SUP_H
#define DEJAVU_10_SUP_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_10_SUP
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_10_sup;
#endif /*USE_LV_FONT_DEJAVU_10_SUP*/
#endif /*DEJAVU_10_SUP_H*/
\ No newline at end of file
#ifndef DEJAVU_20_H
#define DEJAVU_20_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_20
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t arial_20;
#endif /*USE_LV_FONT_DEJAVU_20*/
#endif /*DEJAVU_20_H*/
This source diff could not be displayed because it is too large. You can view the blob instead.
#ifndef DEJAVU_20_CYRILLIC_H
#define DEJAVU_20_CYRILLIC_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_20_CYRILLIC
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_20_cyrillic;
#endif /*USE_LV_FONT_DEJAVU_20_CYRILLIC*/
#endif /*DEJAVU_20_CYRILLIC_H*/
\ No newline at end of file
#ifndef DEJAVU_20_LATIN_EXT_A_H
#define DEJAVU_20_LATIN_EXT_A_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_20_LATIN_EXT_A
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_20_latin_ext_a;
#endif /*USE_LV_FONT_DEJAVU_20_LATIN_EXT_A*/
#endif /*DEJAVU_20_LATIN_EXT_A_H*/
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
#ifndef DEJAVU_20_LATIN_EXT_B_H
#define DEJAVU_20_LATIN_EXT_B_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_20_LATIN_EXT_B
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_20_latin_ext_b;
#endif /*USE_LV_FONT_DEJAVU_20_LATIN_EXT_B*/
#endif /*DEJAVU_20_LATIN_EXT_B_H*/
\ No newline at end of file
#ifndef DEJAVU_20_SUP_H
#define DEJAVU_20_SUP_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_20_SUP
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_20_sup;
#endif /*USE_LV_FONT_DEJAVU_20_SUP*/
#endif /*DEJAVU_20_SUP_H*/
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
#ifndef DEJAVU_30_H
#define DEJAVU_30_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_30
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_30;
#endif /*USE_LV_FONT_DEJAVU_30*/
#endif /*DEJAVU_30_H*/
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
#ifndef DEJAVU_30_CYRILLIC_H
#define DEJAVU_30_CYRILLIC_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_30_CYRILLIC
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_30_cyrillic;
#endif /*USE_LV_FONT_DEJAVU_30_CYRILLIC*/
#endif /*DEJAVU_30_CYRILLIC_H*/
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
#ifndef DEJAVU_30_LATIN_EXT_A_H
#define DEJAVU_30_LATIN_EXT_A_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_30_LATIN_EXT_A
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_30_latin_ext_a;
#endif /*USE_LV_FONT_DEJAVU_30_LATIN_EXT_A*/
#endif /*DEJAVU_30_LATIN_EXT_A_H*/
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
#ifndef DEJAVU_30_LATIN_EXT_B_H
#define DEJAVU_30_LATIN_EXT_B_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_30_LATIN_EXT_B
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_30_latin_ext_b;
#endif /*USE_LV_FONT_DEJAVU_30_LATIN_EXT_B*/
#endif /*DEJAVU_30_LATIN_EXT_B_H*/
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
#ifndef DEJAVU_30_SUP_H
#define DEJAVU_30_SUP_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_30_SUP
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_30_sup;
#endif /*USE_LV_FONT_DEJAVU_30_SUP*/
#endif /*DEJAVU_30_SUP_H*/
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
#ifndef DEJAVU_40_H
#define DEJAVU_40_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_40
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_40;
#endif /*USE_LV_FONT_DEJAVU_40*/
#endif /*DEJAVU_40_H*/
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
#ifndef DEJAVU_40_CYRILLIC_H
#define DEJAVU_40_CYRILLIC_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_40_CYRILLIC
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_40_cyrillic;
#endif /*USE_LV_FONT_DEJAVU_40_CYRILLIC*/
#endif /*DEJAVU_40_CYRILLIC_H*/
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
#ifndef DEJAVU_40_LATIN_EXT_A_H
#define DEJAVU_40_LATIN_EXT_A_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_40_LATIN_EXT_A
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_40_latin_ext_a;
#endif /*USE_LV_FONT_DEJAVU_40_LATIN_EXT_A*/
#endif /*DEJAVU_40_LATIN_EXT_A_H*/
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
#ifndef DEJAVU_40_LATIN_EXT_B_H
#define DEJAVU_40_LATIN_EXT_B_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_40_LATIN_EXT_B
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_40_latin_ext_b;
#endif /*USE_LV_FONT_DEJAVU_40_LATIN_EXT_B*/
#endif /*DEJAVU_40_LATIN_EXT_B_H*/
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
#ifndef DEJAVU_40_SUP_H
#define DEJAVU_40_SUP_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_40_SUP
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_40_sup;
#endif /*USE_LV_FONT_DEJAVU_40_SUP*/
#endif /*DEJAVU_40_SUP_H*/
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
#ifndef DEJAVU_60_H
#define DEJAVU_60_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_60
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_60;
#endif /*USE_LV_FONT_DEJAVU_60*/
#endif /*DEJAVU_60_H*/
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
#ifndef DEJAVU_60_CYRILLIC_H
#define DEJAVU_60_CYRILLIC_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_60_CYRILLIC
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_60_cyrillic;
#endif /*USE_LV_FONT_DEJAVU_60_CYRILLIC*/
#endif /*DEJAVU_60_CYRILLIC_H*/
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
#ifndef DEJAVU_60_LATIN_EXT_A_H
#define DEJAVU_60_LATIN_EXT_A_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_60_LATIN_EXT_A
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_60_latin_ext_a;
#endif /*USE_LV_FONT_DEJAVU_60_LATIN_EXT_A*/
#endif /*DEJAVU_60_LATIN_EXT_A_H*/
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
#ifndef DEJAVU_60_LATIN_EXT_B_H
#define DEJAVU_60_LATIN_EXT_B_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_60_LATIN_EXT_B
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_60_latin_ext_b;
#endif /*USE_LV_FONT_DEJAVU_60_LATIN_EXT_B*/
#endif /*DEJAVU_60_LATIN_EXT_B_H*/
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
#ifndef DEJAVU_60_SUP_H
#define DEJAVU_60_SUP_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_60_SUP
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_60_sup;
#endif /*USE_LV_FONT_DEJAVU_60_SUP*/
#endif /*DEJAVU_60_SUP_H*/
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
#ifndef DEJAVU_80_H
#define DEJAVU_80_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_80
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_80;
#endif /*USE_LV_FONT_DEJAVU_80*/
#endif /*DEJAVU_80_H*/
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
#ifndef DEJAVU_80_CYRILLIC_H
#define DEJAVU_80_CYRILLIC_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_80_CYRILLIC
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_80_cyrillic;
#endif /*USE_LV_FONT_DEJAVU_80_CYRILLIC*/
#endif /*DEJAVU_80_CYRILLIC_H*/
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
#ifndef DEJAVU_80_LATIN_EXT_A_H
#define DEJAVU_80_LATIN_EXT_A_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_80_LATIN_EXT_A
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_80_latin_ext_a;
#endif /*USE_LV_FONT_DEJAVU_80_LATIN_EXT_A*/
#endif /*DEJAVU_80_LATIN_EXT_A_H*/
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
#ifndef DEJAVU_80_LATIN_EXT_B_H
#define DEJAVU_80_LATIN_EXT_B_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_80_LATIN_EXT_B
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_80_latin_ext_b;
#endif /*USE_LV_FONT_DEJAVU_80_LATIN_EXT_B*/
#endif /*DEJAVU_80_LATIN_EXT_B_H*/
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
#ifndef DEJAVU_80_SUP_H
#define DEJAVU_80_SUP_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_DEJAVU_80_SUP
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_dejavu_80_sup;
#endif /*USE_LV_FONT_DEJAVU_80_SUP*/
#endif /*DEJAVU_80_SUP_H*/
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -21,129 +21,116 @@ extern "C" { ...@@ -21,129 +21,116 @@ extern "C" {
*/ */
#if LV_TXT_UTF8 == 0 #if LV_TXT_UTF8 == 0
#define SYMBOL_GLYPH_FIRST 0xC0 #define LV_SYMBOL_GLYPH_FIRST 0xC0
#define SYMBOL_GLYPH_LAST 0xFF #define SYMBOL_AUDIO "\xC0"
#define SYMBOL_VIDEO "\xC1"
/*Basic symbols*/ #define SYMBOL_LIST "\xC2"
#define SYMBOL_LIST "\xC0" #define SYMBOL_OK "\xC3"
#define SYMBOL_OK "\xC1" #define SYMBOL_CLOSE "\xC4"
#define SYMBOL_CLOSE "\xC2" #define SYMBOL_POWER "\xC5"
#define SYMBOL_POWER "\xC3" #define SYMBOL_SETTINGS "\xC6"
#define SYMBOL_SETTINGS "\xC4" #define SYMBOL_TRASH "\xC7"
#define SYMBOL_HOME "\xC5" #define SYMBOL_HOME "\xC8"
#define SYMBOL_REFRESH "\xC6" #define SYMBOL_DOWNLOAD "\xC9"
#define SYMBOL_LEFT "\xC7" #define SYMBOL_DRIVE "\xCA"
#define SYMBOL_RIGHT "\xC8" #define SYMBOL_REFRESH "\xCB"
#define SYMBOL_PLUS "\xC9" #define SYMBOL_MUTE "\xCC"
#define SYMBOL_MINUS "\xCA" #define SYMBOL_VOLUME_MID "\xCD"
#define SYMBOL_UP "\xCB" #define SYMBOL_VOLUME_MAX "\xCE"
#define SYMBOL_DOWN "\xCC" #define SYMBOL_IMAGE "\xCF"
#define SYMBOL_KEYBOARD "\xCD" #define SYMBOL_EDIT "\xD0"
#define SYMBOL_PREV "\xD1"
/*File symbols*/ #define SYMBOL_PLAY "\xD2"
#define SYMBOL_AUDIO "\xE0" #define SYMBOL_PAUSE "\xD3"
#define SYMBOL_VIDEO "\xE1" #define SYMBOL_STOP "\xD4"
#define SYMBOL_TRASH "\xE2" #define SYMBOL_NEXT "\xD5"
#define SYMBOL_DOWNLOAD "\xE3" #define SYMBOL_EJECT "\xD6"
#define SYMBOL_DRIVE "\xE4" #define SYMBOL_LEFT "\xD7"
#define SYMBOL_IMAGE "\xE5" #define SYMBOL_RIGHT "\xD8"
#define SYMBOL_EDIT "\xE6" #define SYMBOL_PLUS "\xD9"
#define SYMBOL_PREV "\xE7" #define SYMBOL_MINUS "\xDA"
#define SYMBOL_PLAY "\xE8" #define SYMBOL_WARNING "\xDB"
#define SYMBOL_PAUSE "\xE9" #define SYMBOL_SHUFFLE "\xDC"
#define SYMBOL_STOP "\xEA" #define SYMBOL_UP "\xDD"
#define SYMBOL_NEXT "\xEB" #define SYMBOL_DOWN "\xDE"
#define SYMBOL_EJECT "\xEC" #define SYMBOL_LOOP "\xDF"
#define SYMBOL_SHUFFLE "\xED" #define SYMBOL_DIRECTORY "\xE0"
#define SYMBOL_LOOP "\xEE" #define SYMBOL_UPLOAD "\xE1"
#define SYMBOL_DIRECTORY "\xEF" #define SYMBOL_CALL "\xE2"
#define SYMBOL_UPLOAD "\xF0" #define SYMBOL_CUT "\xE3"
#define SYMBOL_CUT "\xF1" #define SYMBOL_COPY "\xE4"
#define SYMBOL_COPY "\xF2" #define SYMBOL_SAVE "\xE5"
#define SYMBOL_SAVE "\xF3" #define SYMBOL_CHARGE "\xE6"
#define SYMBOL_FILE "\xF4" #define SYMBOL_BELL "\xE7"
#define SYMBOL_KEYBOARD "\xE8"
/*Feedback symbols*/ #define SYMBOL_GPS "\xE9"
#define SYMBOL_MUTE "\xD0" #define SYMBOL_FILE "\xEA"
#define SYMBOL_VOLUME_MID "\xD1" #define SYMBOL_WIFI "\xEB"
#define SYMBOL_VOLUME_MAX "\xD2" #define SYMBOL_BATTERY_FULL "\xEC"
#define SYMBOL_WARNING "\xD3" #define SYMBOL_BATTERY_3 "\xED"
#define SYMBOL_CALL "\xD4" #define SYMBOL_BATTERY_2 "\xEE"
#define SYMBOL_CHARGE "\xD5" #define SYMBOL_BATTERY_1 "\xEF"
#define SYMBOL_BELL "\xD6" #define SYMBOL_BATTERY_EMPTY "\xF0"
#define SYMBOL_GPS "\xD7" #define SYMBOL_BLUETOOTH "\xF1"
#define SYMBOL_WIFI "\xD8"
#define SYMBOL_BATTERY_FULL "\xD9"
#define SYMBOL_BATTERY_3 "\xDA"
#define SYMBOL_BATTERY_2 "\xDB"
#define SYMBOL_BATTERY_1 "\xDC"
#define SYMBOL_BATTERY_EMPTY "\xDD"
#define SYMBOL_BLUETOOTH "\xDE"
#else #else
#define LV_SYMBOL_GLYPH_FIRST 0xF000
#define SYMBOL_AUDIO "\xEF\x80\x80"
#define SYMBOL_VIDEO "\xEF\x80\x81"
#define SYMBOL_LIST "\xEF\x80\x82"
#define SYMBOL_OK "\xEF\x80\x83"
#define SYMBOL_CLOSE "\xEF\x80\x84"
#define SYMBOL_POWER "\xEF\x80\x85"
#define SYMBOL_SETTINGS "\xEF\x80\x86"
#define SYMBOL_TRASH "\xEF\x80\x87"
#define SYMBOL_HOME "\xEF\x80\x88"
#define SYMBOL_DOWNLOAD "\xEF\x80\x89"
#define SYMBOL_DRIVE "\xEF\x80\x8A"
#define SYMBOL_REFRESH "\xEF\x80\x8B"
#define SYMBOL_MUTE "\xEF\x80\x8C"
#define SYMBOL_VOLUME_MID "\xEF\x80\x8D"
#define SYMBOL_VOLUME_MAX "\xEF\x80\x8E"
#define SYMBOL_IMAGE "\xEF\x80\x8F"
#define SYMBOL_EDIT "\xEF\x80\x90"
#define SYMBOL_PREV "\xEF\x80\x91"
#define SYMBOL_PLAY "\xEF\x80\x92"
#define SYMBOL_PAUSE "\xEF\x80\x93"
#define SYMBOL_STOP "\xEF\x80\x94"
#define SYMBOL_NEXT "\xEF\x80\x95"
#define SYMBOL_EJECT "\xEF\x80\x96"
#define SYMBOL_LEFT "\xEF\x80\x97"
#define SYMBOL_RIGHT "\xEF\x80\x98"
#define SYMBOL_PLUS "\xEF\x80\x99"
#define SYMBOL_MINUS "\xEF\x80\x9A"
#define SYMBOL_WARNING "\xEF\x80\x9B"
#define SYMBOL_SHUFFLE "\xEF\x80\x9C"
#define SYMBOL_UP "\xEF\x80\x9D"
#define SYMBOL_DOWN "\xEF\x80\x9E"
#define SYMBOL_LOOP "\xEF\x80\x9F"
#define SYMBOL_DIRECTORY "\xEF\x80\xA0"
#define SYMBOL_UPLOAD "\xEF\x80\xA1"
#define SYMBOL_CALL "\xEF\x80\xA2"
#define SYMBOL_CUT "\xEF\x80\xA3"
#define SYMBOL_COPY "\xEF\x80\xA4"
#define SYMBOL_SAVE "\xEF\x80\xA5"
#define SYMBOL_CHARGE "\xEF\x80\xA6"
#define SYMBOL_BELL "\xEF\x80\xA7"
#define SYMBOL_KEYBOARD "\xEF\x80\xA8"
#define SYMBOL_GPS "\xEF\x80\xA9"
#define SYMBOL_FILE "\xEF\x80\xAA"
#define SYMBOL_WIFI "\xEF\x80\xAB"
#define SYMBOL_BATTERY_FULL "\xEF\x80\xAC"
#define SYMBOL_BATTERY_3 "\xEF\x80\xAD"
#define SYMBOL_BATTERY_2 "\xEF\x80\xAE"
#define SYMBOL_BATTERY_1 "\xEF\x80\xAF"
#define SYMBOL_BATTERY_EMPTY "\xEF\x80\xB0"
#define SYMBOL_BLUETOOTH "\xEF\x80\xB1"
#endif
#define SYMBOL_GLYPH_FIRST 0xE000 /*Unicode*/
#define SYMBOL_GLYPH_LAST 0xE080 /*Unicode*/
/*Store the UTF8 code of the symbols*/
/*Basic symbols*/
#define SYMBOL_LIST "\xEE\x80\x80"
#define SYMBOL_OK "\xEE\x80\x81"
#define SYMBOL_CLOSE "\xEE\x80\x82"
#define SYMBOL_POWER "\xEE\x80\x83"
#define SYMBOL_SETTINGS "\xEE\x80\x84"
#define SYMBOL_HOME "\xEE\x80\x85"
#define SYMBOL_REFRESH "\xEE\x80\x86"
#define SYMBOL_LEFT "\xEE\x80\x87"
#define SYMBOL_RIGHT "\xEE\x80\x88"
#define SYMBOL_PLUS "\xEE\x80\x89"
#define SYMBOL_MINUS "\xEE\x80\x8A"
#define SYMBOL_UP "\xEE\x80\x8B"
#define SYMBOL_DOWN "\xEE\x80\x8C"
#define SYMBOL_KEYBOARD "\xEE\x80\x8D"
/*File symbols*/
#define SYMBOL_AUDIO "\xEE\x80\xA0"
#define SYMBOL_VIDEO "\xEE\x80\xA1"
#define SYMBOL_TRASH "\xEE\x80\xA2"
#define SYMBOL_DOWNLOAD "\xEE\x80\xA3"
#define SYMBOL_DRIVE "\xEE\x80\xA4"
#define SYMBOL_IMAGE "\xEE\x80\xA5"
#define SYMBOL_EDIT "\xEE\x80\xA6"
#define SYMBOL_PREV "\xEE\x80\xA7"
#define SYMBOL_PLAY "\xEE\x80\xA8"
#define SYMBOL_PAUSE "\xEE\x80\xA9"
#define SYMBOL_STOP "\xEE\x80\xAA"
#define SYMBOL_NEXT "\xEE\x80\xAB"
#define SYMBOL_EJECT "\xEE\x80\xAC"
#define SYMBOL_SHUFFLE "\xEE\x80\xAD"
#define SYMBOL_LOOP "\xEE\x80\xAE"
#define SYMBOL_DIRECTORY "\xEE\x80\xAF"
#define SYMBOL_UPLOAD "\xEE\x80\xB0"
#define SYMBOL_CUT "\xEE\x80\xB1"
#define SYMBOL_COPY "\xEE\x80\xB2"
#define SYMBOL_SAVE "\xEE\x80\xB3"
#define SYMBOL_FILE "\xEE\x80\xB4"
/*Feedback symbols*/
#define SYMBOL_MUTE "\xEE\x81\x80"
#define SYMBOL_VOLUME_MID "\xEE\x81\x81"
#define SYMBOL_VOLUME_MAX "\xEE\x81\x82"
#define SYMBOL_WARNING "\xEE\x81\x83"
#define SYMBOL_CALL "\xEE\x81\x84"
#define SYMBOL_CHARGE "\xEE\x81\x85"
#define SYMBOL_BELL "\xEE\x81\x86"
#define SYMBOL_GPS "\xEE\x81\x87"
#define SYMBOL_WIFI "\xEE\x81\x88"
#define SYMBOL_BATTERY_FULL "\xEE\x81\x89"
#define SYMBOL_BATTERY_3 "\xEE\x81\x8A"
#define SYMBOL_BATTERY_2 "\xEE\x81\x8B"
#define SYMBOL_BATTERY_1 "\xEE\x81\x8C"
#define SYMBOL_BATTERY_EMPTY "\xEE\x81\x8D"
#define SYMBOL_BLUETOOTH "\xEE\x81\x8E"
#endif /*LV_TXT_UTF8*/
#ifdef __cplusplus #ifdef __cplusplus
} /* extern "C" */ } /* extern "C" */
......
#include "../../../lv_conf.h"
#if USE_LV_FONT_SYMBOL_10_BASIC
#include <stdint.h>
#include "../lv_font.h"
/*Store the image of the letters (glyph) */
static const uint8_t symbol_10_basic_bitmap[] =
{
// ASCII: 57344, char width: 10
0x00, 0x00, // ----------......
0xef, 0xc0, // OOO-OOOOOO......
0xff, 0xc0, // OOOOOOOOOO......
0x00, 0x00, // ----------......
0xef, 0xc0, // OOO-OOOOOO......
0xef, 0xc0, // OOO-OOOOOO......
0x00, 0x00, // ----------......
0xff, 0xc0, // OOOOOOOOOO......
0xef, 0xc0, // OOO-OOOOOO......
0x00, 0x00, // ----------......
// ASCII: 57345, char width: 10
0x00, 0x00, // ----------......
0x00, 0x00, // ----------......
0x00, 0x00, // ----------......
0x01, 0x80, // -------OO-......
0x03, 0x80, // ------OOO-......
0x67, 0x00, // -OO--OOO--......
0x7e, 0x00, // -OOOOOO---......
0x3c, 0x00, // --OOOO----......
0x18, 0x00, // ---OO-----......
0x00, 0x00, // ----------......
// ASCII: 57346, char width: 8
0x00, // --------
0x00, // --------
0x00, // --------
0xee, // OOO-OOO-
0x7c, // -OOOOO--
0x3c, // --OOOO--
0x7c, // -OOOOO--
0xfe, // OOOOOOO-
0x44, // -O---O--
0x00, // --------
// ASCII: 57347, char width: 9
0x08, 0x00, // ----O----.......
0x08, 0x00, // ----O----.......
0x6a, 0x00, // -OO-O-O--.......
0x6b, 0x00, // -OO-O-OO-.......
0xc9, 0x00, // OO--O--O-.......
0x81, 0x80, // O------OO.......
0xc1, 0x80, // OO-----OO.......
0xc3, 0x00, // OO----OO-.......
0x7f, 0x00, // -OOOOOOO-.......
0x3c, 0x00, // --OOOO---.......
// ASCII: 57348, char width: 9
0x00, 0x00, // ---------.......
0x08, 0x00, // ----O----.......
0x7f, 0x00, // -OOOOOOO-.......
0x7f, 0x00, // -OOOOOOO-.......
0x67, 0x00, // -OO--OOO-.......
0xe3, 0x80, // OOO---OOO.......
0x67, 0x00, // -OO--OOO-.......
0x7f, 0x00, // -OOOOOOO-.......
0x7f, 0x00, // -OOOOOOO-.......
0x08, 0x00, // ----O----.......
// ASCII: 57349, char width: 9
0x00, 0x00, // ---------.......
0x00, 0x00, // ---------.......
0x0f, 0x00, // ----OOOO-.......
0x3f, 0x00, // --OOOOOO-.......
0x7f, 0x00, // -OOOOOOO-.......
0xff, 0x80, // OOOOOOOOO.......
0x7f, 0x00, // -OOOOOOO-.......
0x77, 0x00, // -OOO-OOO-.......
0x37, 0x00, // --OO-OOO-.......
0x00, 0x00, // ---------.......
// ASCII: 57350, char width: 9
0x00, 0x00, // ---------.......
0x18, 0x00, // ---OO----.......
0x7f, 0x00, // -OOOOOOO-.......
0x47, 0x00, // -O---OOO-.......
0xc7, 0x00, // OO---OOO-.......
0x00, 0x00, // ---------.......
0xe1, 0x00, // OOO----O-.......
0xe3, 0x00, // OOO---OO-.......
0xfe, 0x00, // OOOOOOO--.......
0x3c, 0x00, // --OOOO---.......
// ASCII: 57351, char width: 7
0x00, // -------.
0x04, // -----O-.
0x0c, // ----OO-.
0x1c, // ---OOO-.
0x38, // --OOO--.
0x70, // -OOO---.
0x38, // --OOO--.
0x1c, // ---OOO-.
0x0c, // ----OO-.
0x04, // -----O-.
// ASCII: 57352, char width: 7
0x00, // -------.
0x40, // -O-----.
0x60, // -OO----.
0x30, // --OO---.
0x18, // ---OO--.
0x1c, // ---OOO-.
0x18, // ---OO--.
0x30, // --OO---.
0x60, // -OO----.
0x40, // -O-----.
// ASCII: 57353, char width: 8
0x00, // --------
0x18, // ---OO---
0x18, // ---OO---
0x18, // ---OO---
0xff, // OOOOOOOO
0xff, // OOOOOOOO
0x18, // ---OO---
0x18, // ---OO---
0x18, // ---OO---
0x00, // --------
// ASCII: 57354, char width: 8
0x00, // --------
0x00, // --------
0x00, // --------
0x00, // --------
0xff, // OOOOOOOO
0xff, // OOOOOOOO
0x00, // --------
0x00, // --------
0x00, // --------
0x00, // --------
// ASCII: 57355, char width: 10
0x00, 0x00, // ----------......
0x00, 0x00, // ----------......
0x00, 0x00, // ----------......
0x08, 0x00, // ----O-----......
0x1c, 0x00, // ---OOO----......
0x3e, 0x00, // --OOOOO---......
0x77, 0x00, // -OOO-OOO--......
0xe3, 0x80, // OOO---OOO-......
0x41, 0x00, // -O-----O--......
0x00, 0x00, // ----------......
// ASCII: 57356, char width: 10
0x00, 0x00, // ----------......
0x00, 0x00, // ----------......
0x00, 0x00, // ----------......
0x00, 0x00, // ----------......
0xe3, 0x80, // OOO---OOO-......
0x77, 0x00, // -OOO-OOO--......
0x3e, 0x00, // --OOOOO---......
0x1c, 0x00, // ---OOO----......
0x08, 0x00, // ----O-----......
0x00, 0x00, // ----------......
// ASCII: 57357, char width: 11
0x00, 0x00, // -----------.....
0x00, 0x00, // -----------.....
0xff, 0xc0, // OOOOOOOOOO-.....
0x80, 0x20, // O---------O.....
0x80, 0x20, // O---------O.....
0xa0, 0xa0, // O-O-----O-O.....
0x80, 0x20, // O---------O.....
0x8e, 0x20, // O---OOO---O.....
0xff, 0xe0, // OOOOOOOOOOO.....
0x00, 0x00, // -----------.....
};
/*Store the start index of the glyphs in the bitmap array*/
static const uint32_t symbol_10_basic_map[] =
{
0, 20, 40, 50, 70, 90, 110, 130,
140, 150, 160, 170, 190, 210,
};
/*Store the width (column count) of each glyph*/
static const uint8_t symbol_10_basic_width[] =
{
10, 10, 8, 9, 9, 9, 9, 7,
7, 8, 8, 10, 10, 11,
};
lv_font_t lv_font_symbol_10_basic =
{
#if LV_TXT_UTF8 == 0
192, /*First letter's unicode */
207, /*Last letter's unicode */
#else
57344, /*First letter's unicode */
57358, /*Last letter's unicode */
#endif
10, /*Letters height (rows) */
symbol_10_basic_bitmap, /*Glyph's bitmap*/
symbol_10_basic_map, /*Glyph start indexes in the bitmap*/
symbol_10_basic_width, /*Glyph widths (columns)*/
NULL /*No next page by default*/
};
#endif /*USE_LV_FONT_SYMBOL_10_BASIC*/
#ifndef SYMBOL_10_BASIC_H
#define SYMBOL_10_BASIC_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_SYMBOL_10_BASIC
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_symbol_10_basic;
#endif /*USE_LV_FONT_SYMBOL_10_BASIC*/
#endif /*SYMBOL_10_BASIC_H*/
\ No newline at end of file
#include "../../../lv_conf.h"
#if USE_LV_FONT_SYMBOL_10_FEEDBACK
#include <stdint.h>
#include "../lv_font.h"
/*Store the image of the letters (glyph) */
static const uint8_t symbol_10_feedback_bitmap[] =
{
// ASCII: 57408, char width: 4
0x00, // ----....
0x00, // ----....
0x10, // ---O....
0x30, // --OO....
0xf0, // OOOO....
0xf0, // OOOO....
0xf0, // OOOO....
0x30, // --OO....
0x00, // ----....
0x00, // ----....
// ASCII: 57409, char width: 6
0x00, // ------..
0x00, // ------..
0x10, // ---O--..
0x30, // --OO--..
0xf4, // OOOO-O..
0xf2, // OOOO--O.
0xf0, // OOOO--..
0x30, // --OO--..
0x00, // ------..
0x00, // ------..
// ASCII: 57410, char width: 9
0x00, 0x00, // ---------.......
0x00, 0x00, // ---------.......
0x11, 0x00, // ---O---O-.......
0x33, 0x80, // --OO--OOO.......
0xf5, 0x80, // OOOO-O-OO.......
0xf3, 0x80, // OOOO--OOO.......
0xf5, 0x80, // OOOO-O-OO.......
0x32, 0x80, // --OO--O-O.......
0x01, 0x00, // -------O-.......
0x00, 0x00, // ---------.......
// ASCII: 57411, char width: 10
0x0c, 0x00, // ----OO----......
0x0c, 0x00, // ----OO----......
0x1e, 0x00, // ---OOOO---......
0x12, 0x00, // ---O--O---......
0x33, 0x00, // --OO--OO--......
0x33, 0x00, // --OO--OO--......
0x7f, 0x80, // -OOOOOOOO-......
0x73, 0x80, // -OOO--OOO-......
0xff, 0xc0, // OOOOOOOOOO......
0xff, 0xc0, // OOOOOOOOOO......
// ASCII: 57412, char width: 8
0x00, // --------
0x40, // -O------
0xe0, // OOO-----
0xe0, // OOO-----
0xc0, // OO------
0x60, // -OO-----
0x32, // --OO--O-
0x1f, // ---OOOOO
0x0e, // ----OOO-
0x00, // --------
// ASCII: 57413, char width: 5
0x00, // -----...
0x60, // -OO--...
0x60, // -OO--...
0x60, // -OO--...
0xf8, // OOOOO...
0xf0, // OOOO-...
0x30, // --OO-...
0x20, // --O--...
0x20, // --O--...
0x00, // -----...
// ASCII: 57414, char width: 10
0x00, 0x00, // ----------......
0x1c, 0x00, // ---OOO----......
0x3e, 0x00, // --OOOOO---......
0x3e, 0x00, // --OOOOO---......
0x3f, 0x00, // --OOOOOO--......
0x3f, 0x00, // --OOOOOO--......
0x7f, 0x00, // -OOOOOOO--......
0x7f, 0x00, // -OOOOOOO--......
0xff, 0x80, // OOOOOOOOO-......
0x1c, 0x00, // ---OOO----......
// ASCII: 57415, char width: 8
0x00, // --------
0x00, // --------
0x03, // ------OO
0x0e, // ----OOO-
0x3e, // --OOOOO-
0xfc, // OOOOOO--
0x1c, // ---OOO--
0x08, // ----O---
0x08, // ----O---
0x00, // --------
// ASCII: 57416, char width: 11
0x00, 0x00, // -----------.....
0x06, 0x00, // -----OO----.....
0x3f, 0xc0, // --OOOOOOOO-.....
0xe0, 0xe0, // OOO-----OOO.....
0x3f, 0x80, // --OOOOOOO--.....
0x31, 0x80, // --OO---OO--.....
0x1f, 0x00, // ---OOOOO---.....
0x00, 0x00, // -----------.....
0x04, 0x00, // -----O-----.....
0x00, 0x00, // -----------.....
// ASCII: 57417, char width: 13
0x00, 0x00, // -------------...
0x00, 0x00, // -------------...
0x80, 0x10, // O----------O-...
0xff, 0xf0, // OOOOOOOOOOOO-...
0xff, 0xe8, // OOOOOOOOOOO-O...
0xff, 0xe8, // OOOOOOOOOOO-O...
0xff, 0xe8, // OOOOOOOOOOO-O...
0x80, 0x10, // O----------O-...
0xff, 0xf0, // OOOOOOOOOOOO-...
0x00, 0x00, // -------------...
// ASCII: 57418, char width: 13
0x00, 0x00, // -------------...
0x00, 0x00, // -------------...
0x80, 0x10, // O----------O-...
0xff, 0x10, // OOOOOOOO---O-...
0xff, 0x08, // OOOOOOOO----O...
0xff, 0x08, // OOOOOOOO----O...
0xff, 0x08, // OOOOOOOO----O...
0x80, 0x10, // O----------O-...
0xff, 0xf0, // OOOOOOOOOOOO-...
0x00, 0x00, // -------------...
// ASCII: 57419, char width: 13
0x00, 0x00, // -------------...
0x00, 0x00, // -------------...
0x80, 0x10, // O----------O-...
0xfc, 0x10, // OOOOOO-----O-...
0xfc, 0x08, // OOOOOO------O...
0xfc, 0x08, // OOOOOO------O...
0xfc, 0x08, // OOOOOO------O...
0x80, 0x10, // O----------O-...
0xff, 0xf0, // OOOOOOOOOOOO-...
0x00, 0x00, // -------------...
// ASCII: 57420, char width: 13
0x00, 0x00, // -------------...
0x00, 0x00, // -------------...
0x80, 0x10, // O----------O-...
0xf0, 0x10, // OOOO-------O-...
0xf0, 0x08, // OOOO--------O...
0xf0, 0x08, // OOOO--------O...
0xf0, 0x08, // OOOO--------O...
0x80, 0x10, // O----------O-...
0xff, 0xf0, // OOOOOOOOOOOO-...
0x00, 0x00, // -------------...
// ASCII: 57421, char width: 13
0x00, 0x00, // -------------...
0x00, 0x00, // -------------...
0x80, 0x10, // O----------O-...
0x80, 0x10, // O----------O-...
0x80, 0x08, // O-----------O...
0x80, 0x08, // O-----------O...
0x80, 0x08, // O-----------O...
0x80, 0x10, // O----------O-...
0xff, 0xf0, // OOOOOOOOOOOO-...
0x00, 0x00, // -------------...
// ASCII: 57422, char width: 9
0x3c, 0x00, // --OOOO---.......
0x76, 0x00, // -OOO-OO--.......
0x73, 0x00, // -OOO--OO-.......
0x53, 0x00, // -O-O--OO-.......
0x67, 0x00, // -OO--OOO-.......
0x67, 0x00, // -OO--OOO-.......
0x53, 0x00, // -O-O--OO-.......
0x73, 0x00, // -OOO--OO-.......
0x76, 0x00, // -OOO-OO--.......
0x3c, 0x00, // --OOOO---.......
};
/*Store the start index of the glyphs in the bitmap array*/
static const uint32_t symbol_10_feedback_map[] =
{
0, 10, 20, 40, 60, 70, 80, 100,
110, 130, 150, 170, 190, 210, 230,
};
/*Store the width (column count) of each glyph*/
static const uint8_t symbol_10_feedback_width[] =
{
4, 6, 9, 10, 8, 5, 10, 8,
11, 13, 13, 13, 13, 13, 9,
};
lv_font_t lv_font_symbol_10_feedback =
{
#if LV_TXT_UTF8 == 0
208, /*First letter's unicode */
223, /*Last letter's unicode */
#else
57408, /*First letter's unicode */
57423, /*Last letter's unicode */
#endif
10, /*Letters height (rows) */
symbol_10_feedback_bitmap, /*Glyph's bitmap*/
symbol_10_feedback_map, /*Glyph start indexes in the bitmap*/
symbol_10_feedback_width, /*Glyph widths (columns)*/
NULL /*No next page by default*/
};
#endif /*USE_LV_FONT_SYMBOL_10_FEEDBACK*/
#ifndef SYMBOL_10_FEEDBACK_H
#define SYMBOL_10_FEEDBACK_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_SYMBOL_10_FEEDBACK
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_symbol_10_feedback;
#endif /*USE_LV_FONT_SYMBOL_10_FEEDBACK*/
#endif /*SYMBOL_10_FEEDBACK_H*/
\ No newline at end of file
#include "../../../lv_conf.h"
#if USE_LV_FONT_SYMBOL_10_FILE
#include <stdint.h>
#include "../lv_font.h"
/*Store the image of the letters (glyph) */
static const uint8_t symbol_10_file_bitmap[] =
{
// ASCII: 57376, char width: 9
0x00, 0x00, // ---------.......
0x03, 0x80, // ------OOO.......
0x1f, 0x80, // ---OOOOOO.......
0x1f, 0x80, // ---OOOOOO.......
0x1c, 0x80, // ---OOO--O.......
0x10, 0x80, // ---O----O.......
0x10, 0x80, // ---O----O.......
0x17, 0x80, // ---O-OOOO.......
0xf3, 0x00, // OOOO--OO-.......
0xf0, 0x00, // OOOO-----.......
// ASCII: 57377, char width: 11
0x00, 0x00, // -----------.....
0xff, 0xe0, // OOOOOOOOOOO.....
0xa0, 0xa0, // O-O-----O-O.....
0xe0, 0xe0, // OOO-----OOO.....
0xa0, 0xa0, // O-O-----O-O.....
0xff, 0xe0, // OOOOOOOOOOO.....
0xa0, 0xa0, // O-O-----O-O.....
0xe0, 0xe0, // OOO-----OOO.....
0xa0, 0xa0, // O-O-----O-O.....
0xa0, 0xa0, // O-O-----O-O.....
// ASCII: 57378, char width: 8
0x00, // --------
0x3c, // --OOOO--
0xff, // OOOOOOOO
0x02, // ------O-
0x02, // ------O-
0x76, // -OOO-OO-
0x76, // -OOO-OO-
0x66, // -OO--OO-
0x02, // ------O-
0x7e, // -OOOOOO-
// ASCII: 57379, char width: 9
0x0c, 0x00, // ----OO---.......
0x0c, 0x00, // ----OO---.......
0x0c, 0x00, // ----OO---.......
0x3e, 0x00, // --OOOOO--.......
0x1e, 0x00, // ---OOOO--.......
0x0c, 0x00, // ----OO---.......
0xf3, 0x80, // OOOO--OOO.......
0xff, 0x80, // OOOOOOOOO.......
0xff, 0x80, // OOOOOOOOO.......
0x00, 0x00, // ---------.......
// ASCII: 57380, char width: 9
0x00, 0x00, // ---------.......
0x00, 0x00, // ---------.......
0x7e, 0x00, // -OOOOOO--.......
0x43, 0x00, // -O----OO-.......
0xc1, 0x00, // OO-----O-.......
0x81, 0x80, // O------OO.......
0xe7, 0x80, // OOO--OOOO.......
0xff, 0x80, // OOOOOOOOO.......
0xff, 0x80, // OOOOOOOOO.......
0x00, 0x00, // ---------.......
// ASCII: 57381, char width: 11
0x00, 0x00, // -----------.....
0xff, 0xe0, // OOOOOOOOOOO.....
0x80, 0x20, // O---------O.....
0xa0, 0x20, // O-O-------O.....
0xa3, 0x20, // O-O---OO--O.....
0x87, 0xa0, // O----OOOO-O.....
0xbf, 0xa0, // O-OOOOOOO-O.....
0xbf, 0xa0, // O-OOOOOOO-O.....
0xbf, 0xa0, // O-OOOOOOO-O.....
0xff, 0xc0, // OOOOOOOOOO-.....
// ASCII: 57382, char width: 9
0x00, 0x00, // ---------.......
0x02, 0x00, // ------O--.......
0x07, 0x00, // -----OOO-.......
0x0f, 0x00, // ----OOOO-.......
0x1e, 0x00, // ---OOOO--.......
0x3e, 0x00, // --OOOOO--.......
0x7c, 0x00, // -OOOOO---.......
0xf8, 0x00, // OOOOO----.......
0xb0, 0x00, // O-OO-----.......
0xe0, 0x00, // OOO------.......
// ASCII: 57383, char width: 6
0x00, // ------..
0x84, // O----O..
0x8c, // O---OO..
0x9c, // O--OOO..
0xfc, // OOOOOO..
0xfc, // OOOOOO..
0xbc, // O-OOOO..
0x9c, // O--OOO..
0x8c, // O---OO..
0x00, // ------..
// ASCII: 57384, char width: 8
0x00, // --------
0x80, // O-------
0xe0, // OOO-----
0xf8, // OOOOO---
0xfc, // OOOOOO--
0xff, // OOOOOOOO
0xfc, // OOOOOO--
0xf0, // OOOO----
0xe0, // OOO-----
0x80, // O-------
// ASCII: 57385, char width: 9
0x00, 0x00, // ---------.......
0xf7, 0x80, // OOOO-OOOO.......
0xf7, 0x80, // OOOO-OOOO.......
0xf7, 0x80, // OOOO-OOOO.......
0xf7, 0x80, // OOOO-OOOO.......
0xf7, 0x80, // OOOO-OOOO.......
0xf7, 0x80, // OOOO-OOOO.......
0xf7, 0x80, // OOOO-OOOO.......
0xf7, 0x80, // OOOO-OOOO.......
0xe7, 0x00, // OOO--OOO-.......
// ASCII: 57386, char width: 9
0x00, 0x00, // ---------.......
0xff, 0x80, // OOOOOOOOO.......
0xff, 0x80, // OOOOOOOOO.......
0xff, 0x80, // OOOOOOOOO.......
0xff, 0x80, // OOOOOOOOO.......
0xff, 0x80, // OOOOOOOOO.......
0xff, 0x80, // OOOOOOOOO.......
0xff, 0x80, // OOOOOOOOO.......
0xff, 0x80, // OOOOOOOOO.......
0xff, 0x00, // OOOOOOOO-.......
// ASCII: 57387, char width: 6
0x00, // ------..
0x08, // ----O-..
0x88, // O---O-..
0xc8, // OO--O-..
0xf8, // OOOOO-..
0xf8, // OOOOO-..
0xe8, // OOO-O-..
0xc8, // OO--O-..
0x88, // O---O-..
0x00, // ------..
// ASCII: 57388, char width: 9
0x00, 0x00, // ---------.......
0x00, 0x00, // ---------.......
0x18, 0x00, // ---OO----.......
0x3c, 0x00, // --OOOO---.......
0x7e, 0x00, // -OOOOOO--.......
0xff, 0x00, // OOOOOOOO-.......
0x00, 0x00, // ---------.......
0xff, 0x80, // OOOOOOOOO.......
0xff, 0x80, // OOOOOOOOO.......
0x00, 0x00, // ---------.......
// ASCII: 57389, char width: 10
0x00, 0x00, // ----------......
0x00, 0x80, // --------O-......
0xe7, 0xc0, // OOO--OOOOO......
0x3c, 0x80, // --OOOO--O-......
0x18, 0x00, // ---OO-----......
0x18, 0x00, // ---OO-----......
0x3c, 0x80, // --OOOO--O-......
0xe7, 0xc0, // OOO--OOOOO......
0x00, 0x80, // --------O-......
0x00, 0x00, // ----------......
// ASCII: 57390, char width: 11
0x00, 0x00, // -----------.....
0x00, 0x00, // -----------.....
0x00, 0x00, // -----------.....
0x6f, 0x80, // -OO-OOOOO--.....
0xf0, 0x80, // OOOO----O--.....
0x70, 0x80, // -OOO----O--.....
0x21, 0xe0, // --O----OOOO.....
0x31, 0xc0, // --OO---OOO-.....
0x3e, 0x80, // --OOOOO-O--.....
0x00, 0x00, // -----------.....
// ASCII: 57391, char width: 9
0x00, 0x00, // ---------.......
0xf0, 0x00, // OOOO-----.......
0xf8, 0x00, // OOOOO----.......
0xff, 0x80, // OOOOOOOOO.......
0xff, 0x80, // OOOOOOOOO.......
0xff, 0x80, // OOOOOOOOO.......
0xff, 0x80, // OOOOOOOOO.......
0xff, 0x80, // OOOOOOOOO.......
0xff, 0x80, // OOOOOOOOO.......
0x00, 0x00, // ---------.......
// ASCII: 57392, char width: 9
0x00, 0x00, // ---------.......
0x0c, 0x00, // ----OO---.......
0x1e, 0x00, // ---OOOO--.......
0x3f, 0x00, // --OOOOOO-.......
0x0c, 0x00, // ----OO---.......
0x0c, 0x00, // ----OO---.......
0x0c, 0x00, // ----OO---.......
0xf3, 0x80, // OOOO--OOO.......
0xff, 0x80, // OOOOOOOOO.......
0xff, 0x80, // OOOOOOOOO.......
// ASCII: 57393, char width: 10
0x00, 0x00, // ----------......
0x00, 0x00, // ----------......
0xe0, 0x00, // OOO-------......
0x90, 0x00, // O--O------......
0xf0, 0x00, // OOOO------......
0x08, 0x00, // ----O-----......
0x7c, 0x00, // -OOOOO----......
0x92, 0x00, // O--O--O---......
0x90, 0x40, // O--O-----O......
0xe0, 0x00, // OOO-------......
// ASCII: 57394, char width: 10
0x1e, 0x00, // ---OOOO---......
0x32, 0x00, // --OO--O---......
0x53, 0x80, // -O-O--OOO-......
0xf3, 0x40, // OOOO--OO-O......
0x84, 0x40, // O----O---O......
0x8e, 0x40, // O---OOO--O......
0x80, 0x40, // O--------O......
0xf8, 0x40, // OOOOO----O......
0x00, 0x40, // ---------O......
0x00, 0x40, // ---------O......
// ASCII: 57395, char width: 9
0x00, 0x00, // ---------.......
0xfe, 0x00, // OOOOOOO--.......
0xf5, 0x00, // OOOO-O-O-.......
0xf4, 0x80, // OOOO-O--O.......
0xbc, 0x80, // O-OOOO--O.......
0x80, 0x80, // O-------O.......
0xbe, 0x80, // O-OOOOO-O.......
0xc0, 0x80, // OO------O.......
0xc0, 0x80, // OO------O.......
0xff, 0x80, // OOOOOOOOO.......
// ASCII: 57396, char width: 9
0x78, 0x00, // -OOOO----.......
0xfa, 0x00, // OOOOO-O--.......
0xfb, 0x00, // OOOOO-OO-.......
0xf8, 0x00, // OOOOO----.......
0xff, 0x80, // OOOOOOOOO.......
0xff, 0x80, // OOOOOOOOO.......
0xff, 0x80, // OOOOOOOOO.......
0xff, 0x80, // OOOOOOOOO.......
0xff, 0x80, // OOOOOOOOO.......
0xff, 0x80, // OOOOOOOOO.......
};
/*Store the start index of the glyphs in the bitmap array*/
static const uint32_t symbol_10_file_map[] =
{
0, 20, 40, 50, 70, 90, 110, 130,
140, 150, 170, 190, 200, 220, 240, 260,
280, 300, 320, 340, 360,
};
/*Store the width (column count) of each glyph*/
static const uint8_t symbol_10_file_width[] =
{
9, 11, 8, 9, 9, 11, 9, 6,
8, 9, 9, 6, 9, 10, 11, 9,
9, 10, 10, 9, 9,
};
lv_font_t lv_font_symbol_10_file =
{
#if LV_TXT_UTF8 == 0
224, /*First letter's unicode */
255, /*Last letter's unicode */
#else
57376, /*First letter's unicode */
57397, /*Last letter's unicode */
#endif
10, /*Letters height (rows) */
symbol_10_file_bitmap, /*Glyph's bitmap*/
symbol_10_file_map, /*Glyph start indexes in the bitmap*/
symbol_10_file_width, /*Glyph widths (columns)*/
NULL /*No next page by default*/
};
#endif /*USE_LV_FONT_SYMBOL_10_FILE*/
#ifndef SYMBOL_10_FILE_H
#define SYMBOL_10_FILE_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_SYMBOL_10_FILE
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_symbol_10_file;
#endif /*USE_LV_FONT_SYMBOL_10_FILE*/
#endif /*SYMBOL_10_FILE_H*/
\ No newline at end of file
#ifndef SYMBOL_20_BASIC_H
#define SYMBOL_20_BASIC_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_SYMBOL_20_BASIC
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_symbol_20_basic;
#endif /*USE_LV_FONT_SYMBOL_20_BASIC*/
#endif /*SYMBOL_20_BASIC_H*/
\ No newline at end of file
#ifndef SYMBOL_20_FEEDBACK_H
#define SYMBOL_20_FEEDBACK_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_SYMBOL_20_FEEDBACK
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_symbol_20_feedback;
#endif /*USE_LV_FONT_SYMBOL_20_FEEDBACK*/
#endif /*SYMBOL_20_FEEDBACK_H*/
\ No newline at end of file
#ifndef SYMBOL_20_FILE_H
#define SYMBOL_20_FILE_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_SYMBOL_20_FILE
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_symbol_20_file;
#endif /*USE_LV_FONT_SYMBOL_20_FILE*/
#endif /*SYMBOL_20_FILE_H*/
\ No newline at end of file
#ifndef SYMBOL_30_BASIC_H
#define SYMBOL_30_BASIC_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_SYMBOL_30_BASIC
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_symbol_30_basic;
#endif /*USE_LV_FONT_SYMBOL_30_BASIC*/
#endif /*SYMBOL_30_BASIC_H*/
\ No newline at end of file
#ifndef SYMBOL_30_FEEDBACK_H
#define SYMBOL_30_FEEDBACK_H
/*Use UTF-8 encoding in the IDE*/
#include "../../../lv_conf.h"
#if USE_LV_FONT_SYMBOL_30_FEEDBACK
#include <stdint.h>
#include "../lv_font.h"
extern lv_font_t lv_font_symbol_30_feedback;
#endif /*USE_LV_FONT_SYMBOL_30_FEEDBACK*/
#endif /*SYMBOL_30_FEEDBACK_H*/
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
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