diff --git a/src/ScreenComponents.h b/src/ScreenComponents.h index 3368fc18..78ed5920 100644 --- a/src/ScreenComponents.h +++ b/src/ScreenComponents.h @@ -13,6 +13,8 @@ struct TabInfo { class ScreenComponents { public: + static const int BOOK_PROGRESS_BAR_HEIGHT = 4; + struct PopupLayout { int x; int y; @@ -20,8 +22,6 @@ class ScreenComponents { 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 drawBookProgressBar(const GfxRenderer& renderer, size_t bookProgress);