mirror of
https://github.com/jjsullivan5196/wvkbd.git
synced 2025-08-29 23:32:01 +02:00
Tie the damage tracking to the drawing methods
So that keyboard.c just need to draw things, and stop worring about damaging.
This commit is contained in:
1
drw.h
1
drw.h
@@ -33,7 +33,6 @@ struct drwsurf {
|
||||
};
|
||||
struct kbd;
|
||||
|
||||
void drwsurf_damage(struct drwsurf *ds, uint32_t x, uint32_t y, uint32_t w, uint32_t h);
|
||||
void drwsurf_resize(struct drwsurf *ds, uint32_t w, uint32_t h, double s);
|
||||
void drwsurf_attach(struct drwsurf *ds);
|
||||
void drwsurf_flip(struct drwsurf *ds);
|
||||
|
Reference in New Issue
Block a user