luat_lvgl_fonts.h 753 B

12345678910111213141516171819202122232425262728
  1. #ifndef LUAT_LIB_FONTS_H
  2. #define LUAT_LIB_FONTS_H
  3. #include "luat_base.h"
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7. #include "../src/lv_font/lv_font.h"
  8. bool lv_font_is_gt(lv_font_t *font);
  9. lv_font_t *lv_font_new_gt(uint8_t sty_zh, uint8_t sty_en, uint8_t size, uint8_t bpp, uint16_t thickness, uint8_t cache_size);
  10. void lv_font_del_gt(lv_font_t *font);
  11. // LV_FONT_DECLARE(lv_font_opposans_m_8)
  12. // LV_FONT_DECLARE(lv_font_opposans_m_10)
  13. // LV_FONT_DECLARE(lv_font_opposans_m_12)
  14. // LV_FONT_DECLARE(lv_font_opposans_m_14)
  15. // LV_FONT_DECLARE(lv_font_opposans_m_16)
  16. // LV_FONT_DECLARE(lv_font_opposans_m_18)
  17. // LV_FONT_DECLARE(lv_font_opposans_m_20)
  18. // LV_FONT_DECLARE(lv_font_opposans_m_22)
  19. #ifdef __cplusplus
  20. }
  21. #endif
  22. #endif