Fix contentRect for X3

This commit is contained in:
jpirnay
2026-04-14 20:49:52 +02:00
parent 2565042e1f
commit a57fc5b5fd
2 changed files with 27 additions and 5 deletions
+2 -1
View File
@@ -55,7 +55,8 @@ class UITheme {
static std::function<bool(int)> makeSelectablePredicate(int total, std::function<std::string(int)> titleGetter);
// Returns the drawable content Rect accounting for screen orientation and visible button hints.
// Bottom hints occupy the physical bottom edge; side hints occupy the physical right edge.
// Bottom hints occupy the physical bottom edge.
// Side hints occupy the physical right edge on X4, and both physical sides on X3.
// The mapping to logical edges is orientation-dependent.
static Rect getContentRect(const GfxRenderer& renderer, bool hasBottomHints, bool hasSideHints);
static std::string getCoverThumbPath(std::string coverBmpPath, int coverHeight);