Show battery percentage on home screen (#167)

## Summary

* Show battery percentage on home screen
  * Moved battery rendering logic into shared ScreenComponents class
* As discussed
https://github.com/daveallie/crosspoint-reader/discussions/155
This commit is contained in:
Dave Allie
2025-12-30 22:41:47 +10:00
committed by GitHub
parent 52a0b5bbe9
commit e2cba5be83
4 changed files with 55 additions and 33 deletions

8
src/ScreenComponents.h Normal file
View File

@@ -0,0 +1,8 @@
#pragma once
class GfxRenderer;
class ScreenComponents {
public:
static void drawBattery(const GfxRenderer& renderer, int left, int top);
};