mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-06 15:47:39 +03:00
Format
This commit is contained in:
parent
388d67d0e8
commit
f0a1c6e61f
@ -244,7 +244,7 @@ void GfxRenderer::drawButtonHints(const int fontId, const char* btn1, const char
|
|||||||
const int pageHeight = getScreenHeight();
|
const int pageHeight = getScreenHeight();
|
||||||
constexpr int buttonWidth = 106;
|
constexpr int buttonWidth = 106;
|
||||||
constexpr int buttonHeight = 40;
|
constexpr int buttonHeight = 40;
|
||||||
constexpr int buttonY = 40; // Distance from bottom
|
constexpr int buttonY = 40; // Distance from bottom
|
||||||
constexpr int textYOffset = 5; // Distance from top of button to text baseline
|
constexpr int textYOffset = 5; // Distance from top of button to text baseline
|
||||||
constexpr int buttonPositions[] = {25, 130, 245, 350};
|
constexpr int buttonPositions[] = {25, 130, 245, 350};
|
||||||
const char* labels[] = {btn1, btn2, btn3, btn4};
|
const char* labels[] = {btn1, btn2, btn3, btn4};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user