mirror of
https://github.com/badgeteam/mch2022-template-app.git
synced 2024-11-26 11:01:06 +00:00
21 lines
523 B
C
21 lines
523 B
C
#pragma once
|
|
|
|
#include <stdint.h>
|
|
#include <stdbool.h>
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
bool driver_framebuffer_is_dirty();
|
|
/* Returns true if the framebuffer contains a dirty area */
|
|
|
|
void driver_framebuffer_set_dirty_area(int16_t x0, int16_t y0, int16_t x1, int16_t y1, bool force);
|
|
/* Set the dirty area, either incremental or directly by setting the force flag */
|
|
|
|
void driver_framebuffer_get_dirty_area(int16_t* x0, int16_t* y0, int16_t* x1, int16_t* y1);
|
|
/* Get the dirty area */
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|