Merge branch 'lightning-refactor' of https://github.com/znelson/crosspoint-reader into mybuild
This commit is contained in:
@@ -142,4 +142,9 @@ class BaseTheme {
|
||||
virtual void drawTextField(const GfxRenderer& renderer, Rect rect, const int textWidth) const;
|
||||
virtual void drawKeyboardKey(const GfxRenderer& renderer, Rect rect, const char* label, const bool isSelected) const;
|
||||
virtual bool showsFileIcons() const { return false; }
|
||||
|
||||
// Shared constants and helpers for battery drawing (used by all themes)
|
||||
static constexpr int batteryPercentSpacing = 4;
|
||||
static void drawBatteryOutline(const GfxRenderer& renderer, int x, int y, int battWidth, int rectHeight);
|
||||
static void drawBatteryLightningBolt(const GfxRenderer& renderer, int boltX, int boltY);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user