diff options
author | Daniel Friesel <derf@finalrewind.org> | 2021-11-29 20:39:46 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2021-11-29 20:39:46 +0100 |
commit | 1b1952efc21d1b243e25e3c6f3d92ddefb419977 (patch) | |
tree | 474afb0ee5da91f72feb70b4666895d142edc6bd /include/object | |
parent | 392aec889cff9400d512970868a6dcfba3b72ce1 (diff) |
framebuffer: battery: show charging indicator
Diffstat (limited to 'include/object')
-rw-r--r-- | include/object/framebuffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/object/framebuffer.h b/include/object/framebuffer.h index 90be12b..c2edf22 100644 --- a/include/object/framebuffer.h +++ b/include/object/framebuffer.h @@ -23,7 +23,7 @@ class Framebuffer : public OutputStream 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 drawBattery(unsigned int x, unsigned int y, unsigned char percent); + void drawBattery(unsigned int x, unsigned int y, unsigned char percent, bool charging = false); void setFont(const glyph_t *font) { this->font = font; } void setPos(unsigned int newX, unsigned int newY) { fontX = newX; fontY = newY; } virtual void put(char c) override; |