lv_font.h: change field order

This commit is contained in:
Gabor Kiss-Vamosi
2019-10-17 06:47:51 +02:00
parent 10b3463a5f
commit 87d191e737

View File

@@ -76,12 +76,12 @@ typedef struct _lv_font_struct
/*Pointer to the font in a font pack (must have the same line height)*/
uint8_t line_height; /**< The real line height where any text fits*/
uint8_t base_line; /**< Base line measured from the top of the line_height*/
uint8_t subpx :2; /**< An element of `lv_font_subpx_t`*/
void * dsc; /**< Store implementation specific data here*/
#if LV_USE_USER_DATA
lv_font_user_data_t user_data; /**< Custom user data for font. */
#endif
uint32_t subpx :2; /**< An element of `lv_font_subpx_t`*/
} lv_font_t;