diff options
author | dzwdz | 2022-08-08 21:13:36 +0200 |
---|---|---|
committer | dzwdz | 2022-08-08 21:13:36 +0200 |
commit | 2f6f3ea54ad01f02e68a23345565c34eb47ad365 (patch) | |
tree | 5f5c97eca9ab1e6b61a2511d4864803f8bd11557 /src/user/lib/draw/draw.h | |
parent | cb04eada02bedc5b748e01b09a899dc139c4970f (diff) |
user: drawmouse for demoing mouse/graphic support
Diffstat (limited to 'src/user/lib/draw/draw.h')
-rw-r--r-- | src/user/lib/draw/draw.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/user/lib/draw/draw.h b/src/user/lib/draw/draw.h index ba15840..98316fe 100644 --- a/src/user/lib/draw/draw.h +++ b/src/user/lib/draw/draw.h @@ -17,3 +17,8 @@ void dirty_mark(struct rect *d, uint32_t x, uint32_t y); void dirty_flush(struct rect *d, struct framebuf *fb); int fb_setup(struct framebuf *fb, const char *base); +int fb_anon(struct framebuf *fb, size_t w, size_t h); +uint32_t *fb_pixel(struct framebuf *fb, uint32_t x, uint32_t y); +void fb_cpy( + struct framebuf *dest, const struct framebuf *src, + size_t xd, size_t yd, size_t xs, size_t ys, size_t w, size_t h); |