win_drv.h 871 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. /**
  2. * @file fbdev.h
  3. *
  4. */
  5. #ifndef WINDRV_H
  6. #define WINDRV_H
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. /*********************
  11. * INCLUDES
  12. *********************/
  13. #ifndef LV_DRV_NO_CONF
  14. #ifdef LV_CONF_INCLUDE_SIMPLE
  15. #include "lv_drv_conf.h"
  16. #else
  17. #include "src/lv_drv_conf.h"
  18. #endif
  19. #endif
  20. #if USE_WINDOWS
  21. #ifdef LV_LVGL_H_INCLUDE_SIMPLE
  22. #include "lvgl.h"
  23. #else
  24. #include "lvgl/lvgl.h"
  25. #endif
  26. #include <windows.h>
  27. /*********************
  28. * DEFINES
  29. *********************/
  30. /**********************
  31. * TYPEDEFS
  32. **********************/
  33. /**********************
  34. * GLOBAL PROTOTYPES
  35. **********************/
  36. extern bool lv_win_exit_flag;
  37. extern lv_disp_t *lv_windows_disp;
  38. HWND windrv_init(void);
  39. /**********************
  40. * MACROS
  41. **********************/
  42. #endif /*USE_WINDOWS*/
  43. #ifdef __cplusplus
  44. } /* extern "C" */
  45. #endif
  46. #endif /*WIN_DRV_H*/