2019-02-07 19:17:10 +01:00
|
|
|
/**
|
|
|
|
* @file lv_disp.h
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef LV_DISP_H
|
|
|
|
#define LV_DISP_H
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/*********************
|
|
|
|
* INCLUDES
|
|
|
|
*********************/
|
2019-02-10 11:06:47 +01:00
|
|
|
#include "../lv_hal/lv_hal.h"
|
2019-02-12 16:20:59 +01:00
|
|
|
#include "lv_obj.h"
|
2019-02-07 19:17:10 +01:00
|
|
|
|
|
|
|
/*********************
|
|
|
|
* DEFINES
|
|
|
|
*********************/
|
|
|
|
|
|
|
|
/**********************
|
|
|
|
* TYPEDEFS
|
|
|
|
**********************/
|
|
|
|
|
|
|
|
/**********************
|
|
|
|
* GLOBAL PROTOTYPES
|
|
|
|
**********************/
|
2019-02-12 16:20:59 +01:00
|
|
|
void lv_disp_assign_screen(lv_disp_t * disp, lv_obj_t * scr);
|
2019-02-07 19:17:10 +01:00
|
|
|
|
2019-02-12 15:38:13 +01:00
|
|
|
/**
|
|
|
|
* Get the number of areas in the buffer
|
|
|
|
* @return number of invalid areas
|
|
|
|
*/
|
|
|
|
uint16_t lv_disp_get_inv_buf_size(lv_disp_t * disp);
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Pop (delete) the last 'num' invalidated areas from the buffer
|
|
|
|
* @param num number of areas to delete
|
|
|
|
*/
|
|
|
|
void lv_disp_pop_from_inv_buf(lv_disp_t * disp, uint16_t num);
|
|
|
|
|
2019-02-07 19:17:10 +01:00
|
|
|
/**********************
|
|
|
|
* MACROS
|
|
|
|
**********************/
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
} /* extern "C" */
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /*LV_TEMPL_H*/
|