prevent refresh after drag is no movement happened

This commit is contained in:
Gabor Kiss-Vamosi
2018-02-24 15:36:06 +01:00
parent f3e1df3997
commit 076540752b
3 changed files with 38 additions and 2 deletions

View File

@@ -65,6 +65,17 @@ void lv_refr_set_monitor_cb(void (*cb)(uint32_t, uint32_t));
*/
void lv_refr_set_round_cd(void(*cb)(lv_area_t*));
/**
* Get the number of areas in the buffer
* @return number of invalid areas
*/
uint16_t lv_refr_get_buf_size(void);
/**
* Pop (delete) the last 'num' invalidated areas from the buffer
* @param num number of areas to delete
*/
void lv_refr_pop_from_buf(uint16_t num);
/**********************
* STATIC FUNCTIONS
**********************/