fix: Fill the gap under the screen for the progress bar (#2138)

This commit is contained in:
Eloren1
2026-05-25 15:10:45 -04:00
committed by GitHub
parent b53ac3d52c
commit d7797baff2
3 changed files with 11 additions and 7 deletions
+2 -1
View File
@@ -203,7 +203,8 @@ class BaseTheme {
virtual Rect drawPopup(const GfxRenderer& renderer, const char* message) const;
virtual void fillPopupProgress(const GfxRenderer& renderer, const Rect& layout, const int progress) const;
void drawStatusBar(GfxRenderer& renderer, const float bookProgress, const int currentPage, const int pageCount,
std::string title, const int paddingBottom = 0, const int textYOffset = 0) const;
std::string title, const int paddingBottom = 0, const int textYOffset = 0,
const bool fillMargin = true) const;
void drawHelpText(const GfxRenderer& renderer, Rect rect, const char* label) const;
virtual void drawTextField(const GfxRenderer& renderer, Rect rect, const int textWidth, bool cursorMode = false,
int contentStartX = 0, int contentWidth = 0) const;