This commit is contained in:
Arthur Tazhitdinov 2026-01-27 19:51:03 +05:00
parent 56e54a5209
commit d528e7a1a9

View File

@ -13,6 +13,8 @@ struct TabInfo {
class ScreenComponents { class ScreenComponents {
public: public:
static const int BOOK_PROGRESS_BAR_HEIGHT = 4;
struct PopupLayout { struct PopupLayout {
int x; int x;
int y; int y;
@ -20,8 +22,6 @@ class ScreenComponents {
int height; int height;
}; };
static constexpr int BOOK_PROGRESS_BAR_HEIGHT = 6;
static void drawBattery(const GfxRenderer& renderer, int left, int top, bool showPercentage = true); static void drawBattery(const GfxRenderer& renderer, int left, int top, bool showPercentage = true);
static void drawBookProgressBar(const GfxRenderer& renderer, size_t bookProgress); static void drawBookProgressBar(const GfxRenderer& renderer, size_t bookProgress);