grid: implement DAMAGE_SCROLL

This commit is contained in:
Daniel Eklöf 2019-06-21 14:29:15 +02:00
parent 0ddd96de0d
commit a50be28b9d
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
5 changed files with 142 additions and 15 deletions

2
grid.h
View file

@ -4,6 +4,8 @@
void grid_damage_update(struct grid *grid, int start, int length);
void grid_damage_erase(struct grid *grid, int start, int length);
void grid_damage_scroll(
struct grid *grid, int top_margin, int bottom_margin, int lines);
void grid_erase(struct grid *grid, int start, int end);