1 /** 2 * @file lv_file_explorer_private.h 3 * 4 */ 5 6 #ifndef LV_FILE_EXPLORER_PRIVATE_H 7 #define LV_FILE_EXPLORER_PRIVATE_H 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 /********************* 14 * INCLUDES 15 *********************/ 16 17 #include "../../core/lv_obj_private.h" 18 #include "lv_file_explorer.h" 19 20 #if LV_USE_FILE_EXPLORER != 0 21 22 /********************* 23 * DEFINES 24 *********************/ 25 26 /********************** 27 * TYPEDEFS 28 **********************/ 29 30 /*Data of canvas*/ 31 struct _lv_file_explorer_t { 32 lv_obj_t obj; 33 lv_obj_t * cont; 34 lv_obj_t * head_area; 35 lv_obj_t * browser_area; 36 lv_obj_t * file_table; 37 lv_obj_t * path_label; 38 #if LV_FILE_EXPLORER_QUICK_ACCESS 39 lv_obj_t * quick_access_area; 40 lv_obj_t * list_device; 41 lv_obj_t * list_places; 42 char * home_dir; 43 char * music_dir; 44 char * pictures_dir; 45 char * video_dir; 46 char * docs_dir; 47 char * fs_dir; 48 #endif 49 const char * sel_fn; 50 char current_path[LV_FILE_EXPLORER_PATH_MAX_LEN]; 51 lv_file_explorer_sort_t sort; 52 }; 53 54 55 /********************** 56 * GLOBAL PROTOTYPES 57 **********************/ 58 59 /********************** 60 * MACROS 61 **********************/ 62 63 #endif /* LV_USE_FILE_EXPLORER != 0 */ 64 65 #ifdef __cplusplus 66 } /*extern "C"*/ 67 #endif 68 69 #endif /*LV_FILE_EXPLORER_PRIVATE_H*/ 70