summaryrefslogtreecommitdiff
path: root/include/object
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-11-29 20:39:46 +0100
committerDaniel Friesel <derf@finalrewind.org>2021-11-29 20:39:46 +0100
commit1b1952efc21d1b243e25e3c6f3d92ddefb419977 (patch)
tree474afb0ee5da91f72feb70b4666895d142edc6bd /include/object
parent392aec889cff9400d512970868a6dcfba3b72ce1 (diff)
framebuffer: battery: show charging indicator
Diffstat (limited to 'include/object')
-rw-r--r--include/object/framebuffer.h2
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;