小忍者项目相关文件上传
This commit is contained in:
60
MXC-A36/xrz/lv_drivers/win_drv.h
Normal file
60
MXC-A36/xrz/lv_drivers/win_drv.h
Normal file
@ -0,0 +1,60 @@
|
||||
/**
|
||||
* @file fbdev.h
|
||||
*
|
||||
*/
|
||||
|
||||
#ifndef WINDRV_H
|
||||
#define WINDRV_H
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*********************
|
||||
* INCLUDES
|
||||
*********************/
|
||||
#ifndef LV_DRV_NO_CONF
|
||||
#ifdef LV_CONF_INCLUDE_SIMPLE
|
||||
#include "lv_drv_conf.h"
|
||||
#else
|
||||
#include "../lv_drv_conf.h"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if USE_WINDOWS
|
||||
|
||||
#ifdef LV_LVGL_H_INCLUDE_SIMPLE
|
||||
#include "lvgl.h"
|
||||
#else
|
||||
#include "lvgl/lvgl.h"
|
||||
#endif
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
/*********************
|
||||
* DEFINES
|
||||
*********************/
|
||||
|
||||
/**********************
|
||||
* TYPEDEFS
|
||||
**********************/
|
||||
|
||||
/**********************
|
||||
* GLOBAL PROTOTYPES
|
||||
**********************/
|
||||
extern bool lv_win_exit_flag;
|
||||
extern lv_disp_t *lv_windows_disp;
|
||||
|
||||
HWND windrv_init(void);
|
||||
|
||||
/**********************
|
||||
* MACROS
|
||||
**********************/
|
||||
|
||||
#endif /*USE_WINDOWS*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
} /* extern "C" */
|
||||
#endif
|
||||
|
||||
#endif /*WIN_DRV_H*/
|
Reference in New Issue
Block a user