acid-drop

- Hacking the planet from a LilyGo T-Deck using custom firmware
git clone git://git.acid.vegas/acid-drop.git
Log | Files | Refs | Archive | README | LICENSE

lv_extra.c (1423B)

      1 /**
      2  * @file lv_extra.c
      3  *
      4  */
      5 
      6 /*********************
      7  *      INCLUDES
      8  *********************/
      9 #include "../lvgl.h"
     10 
     11 /*********************
     12  *      DEFINES
     13  *********************/
     14 
     15 /**********************
     16  *      TYPEDEFS
     17  **********************/
     18 
     19 /**********************
     20  *  STATIC PROTOTYPES
     21  **********************/
     22 
     23 /**********************
     24  *  STATIC VARIABLES
     25  **********************/
     26 
     27 /**********************
     28  *      MACROS
     29  **********************/
     30 
     31 /**********************
     32  *   GLOBAL FUNCTIONS
     33  **********************/
     34 
     35 void lv_extra_init(void)
     36 {
     37 #if LV_USE_FLEX
     38     lv_flex_init();
     39 #endif
     40 
     41 #if LV_USE_GRID
     42     lv_grid_init();
     43 #endif
     44 
     45 #if LV_USE_MSG
     46     lv_msg_init();
     47 #endif
     48 
     49 #if LV_USE_FS_FATFS != '\0'
     50     lv_fs_fatfs_init();
     51 #endif
     52 
     53 #if LV_USE_FS_STDIO != '\0'
     54     lv_fs_stdio_init();
     55 #endif
     56 
     57 #if LV_USE_FS_POSIX != '\0'
     58     lv_fs_posix_init();
     59 #endif
     60 
     61 #if LV_USE_FS_WIN32 != '\0'
     62     lv_fs_win32_init();
     63 #endif
     64 
     65 #if LV_USE_FFMPEG
     66     lv_ffmpeg_init();
     67 #endif
     68 
     69 #if LV_USE_PNG
     70     lv_png_init();
     71 #endif
     72 
     73 #if LV_USE_SJPG
     74     lv_split_jpeg_init();
     75 #endif
     76 
     77 #if LV_USE_BMP
     78     lv_bmp_init();
     79 #endif
     80 
     81 #if LV_USE_FREETYPE
     82     /*Init freetype library*/
     83 #  if LV_FREETYPE_CACHE_SIZE >= 0
     84     lv_freetype_init(LV_FREETYPE_CACHE_FT_FACES, LV_FREETYPE_CACHE_FT_SIZES, LV_FREETYPE_CACHE_SIZE);
     85 #  else
     86     lv_freetype_init(0, 0, 0);
     87 #  endif
     88 #endif
     89 }
     90 
     91 /**********************
     92  *   STATIC FUNCTIONS
     93  **********************/