font: add user data

This commit is contained in:
Gabor Kiss-Vamosi
2019-06-02 14:18:21 +02:00
parent ff65ecd102
commit 366698bba3
3 changed files with 7 additions and 2 deletions

View File

@@ -259,6 +259,9 @@ typedef void * lv_indev_drv_user_data_t; /*Type of user data in the i
#define LV_FONT_DEFAULT &lv_font_dejavu_20 /*Always set a default font from the built-in fonts*/
/*Declare the type of the user data of fonts (can be e.g. `void *`, `int`, `struct`)*/
typedef void * lv_font_user_data_t;
/*=================
* Text settings
*=================*/