diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-11-22 22:29:58 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-11-22 22:29:58 +0100 |
commit | 7ec9a3d7e0bd3e3c65617cccfb4c1f11dab4f645 (patch) | |
tree | 2bab61d46f3eaa2b309d3a62fb73660e56c0dcb6 /include | |
parent | 8d92813827c5979c9298cbdd98b0503c427fd42a (diff) |
framebuffer: add scroll function
Diffstat (limited to 'include')
-rw-r--r-- | include/object/framebuffer.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/object/framebuffer.h b/include/object/framebuffer.h index a76a24a..bfbd215 100644 --- a/include/object/framebuffer.h +++ b/include/object/framebuffer.h @@ -20,6 +20,7 @@ class Framebuffer : public OutputStream constexpr static unsigned int const height = CONFIG_framebuffer_height; void clear(); + void scroll(); void fillBox(unsigned int x, unsigned int y, unsigned int w, unsigned int h); void drawAt(unsigned int x, unsigned int y, unsigned int w, unsigned int h, unsigned char *image); void setFont(const glyph_t *font) { this->font = font; } |