feat: Themed reader menus (#1072)
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include <EpdFontFamily.h>
|
||||
|
||||
#include <functional>
|
||||
#include <memory>
|
||||
|
||||
@@ -16,6 +18,10 @@ class UITheme {
|
||||
|
||||
const ThemeMetrics& getMetrics() const { return *currentMetrics; }
|
||||
const BaseTheme& getTheme() const { return *currentTheme; }
|
||||
Rect getScreenSafeArea(const GfxRenderer& renderer, bool hasFrontButtonHints = false,
|
||||
bool hasSideButtonHints = false);
|
||||
static void drawCenteredText(const GfxRenderer& renderer, Rect screen, int fontId, int y, const char* text,
|
||||
bool black = true, EpdFontFamily::Style style = EpdFontFamily::REGULAR);
|
||||
void reload();
|
||||
void setTheme(CrossPointSettings::UI_THEME type);
|
||||
static int getNumberOfItemsPerPage(const GfxRenderer& renderer, bool hasHeader, bool hasTabBar, bool hasButtonHints,
|
||||
|
||||
Reference in New Issue
Block a user