Add option to hide battery percentage. (#297)
with option to always hide or hide in reader only. Co-authored-by: Dave Allie <dave@daveallie.com>
This commit is contained in:
@@ -7,7 +7,7 @@ class GfxRenderer;
|
||||
|
||||
class ScreenComponents {
|
||||
public:
|
||||
static void drawBattery(const GfxRenderer& renderer, int left, int top);
|
||||
static void drawBattery(const GfxRenderer& renderer, int left, int top, bool showPercentage = true);
|
||||
|
||||
/**
|
||||
* Draw a progress bar with percentage text.
|
||||
|
||||
Reference in New Issue
Block a user