1 /** 2 * @file lv_linux_fbdev.h 3 * 4 */ 5 6 #ifndef LV_LINUX_FBDEV_H 7 #define LV_LINUX_FBDEV_H 8 9 #ifdef __cplusplus 10 extern "C" { 11 #endif 12 13 /********************* 14 * INCLUDES 15 *********************/ 16 17 #include "../../../display/lv_display.h" 18 19 #if LV_USE_LINUX_FBDEV 20 21 /********************* 22 * DEFINES 23 *********************/ 24 25 /********************** 26 * TYPEDEFS 27 **********************/ 28 29 /********************** 30 * GLOBAL PROTOTYPES 31 **********************/ 32 lv_display_t * lv_linux_fbdev_create(void); 33 34 void lv_linux_fbdev_set_file(lv_display_t * disp, const char * file); 35 36 /** 37 * Force the display to be refreshed on every change. 38 * Expected to be used with LV_DISPLAY_RENDER_MODE_DIRECT or LV_DISPLAY_RENDER_MODE_FULL. 39 */ 40 void lv_linux_fbdev_set_force_refresh(lv_display_t * disp, bool enabled); 41 42 /********************** 43 * MACROS 44 **********************/ 45 46 #endif /* LV_USE_LINUX_FBDEV */ 47 48 #ifdef __cplusplus 49 } /* extern "C" */ 50 #endif 51 52 #endif /* LV_LINUX_FBDEV_H */ 53