mikroSDK Reference Manual
lv_imgfont.h
Go to the documentation of this file.
1
6#ifndef LV_IMGFONT_H
7#define LV_IMGFONT_H
8
9#ifdef __cplusplus
10extern "C" {
11#endif
12
13/*********************
14 * INCLUDES
15 *********************/
16#include "../../../lvgl.h"
17
18#if LV_USE_IMGFONT
19
20/*********************
21 * DEFINES
22 *********************/
23
24/**********************
25 * TYPEDEFS
26 **********************/
27
28/* gets the image path name of this character */
29typedef bool (*lv_get_imgfont_path_cb_t)(const lv_font_t * font, void * img_src,
30 uint16_t len, uint32_t unicode, uint32_t unicode_next);
31
32/**********************
33 * GLOBAL PROTOTYPES
34 **********************/
35
42lv_font_t * lv_imgfont_create(uint16_t height, lv_get_imgfont_path_cb_t path_cb);
43
48void lv_imgfont_destroy(lv_font_t * font);
49
50/**********************
51 * MACROS
52 **********************/
53
54#endif /*LV_USE_IMGFONT*/
55
56#ifdef __cplusplus
57} /*extern "C"*/
58#endif
59
60#endif /* LV_IMGFONT_H */
Definition lv_font.h:64