feat: Themed components

This commit is contained in:
CaptainFrito
2026-01-19 21:24:05 +07:00
parent 8824c87490
commit 2d328b6a54
21 changed files with 626 additions and 144 deletions

View File

@@ -9,7 +9,7 @@
#include "CrossPointState.h"
#include "EpubReaderChapterSelectionActivity.h"
#include "MappedInputManager.h"
#include "ScreenComponents.h"
#include "components/UITheme.h"
#include "fontIds.h"
namespace {
@@ -455,7 +455,7 @@ void EpubReaderActivity::renderStatusBar(const int orientedMarginRight, const in
}
if (showBattery) {
ScreenComponents::drawBattery(renderer, orientedMarginLeft + 1, textY, showBatteryPercentage);
UITheme::drawBattery(renderer, Rect{orientedMarginLeft + 1, textY}, showBatteryPercentage);
}
if (showChapterTitle) {