mirror of
https://github.com/daveallie/crosspoint-reader.git
synced 2026-02-08 00:27:39 +03:00
Compare commits
No commits in common. "f0a1c6e61f36c4d1bbcd68c14a14215033969bfe" and "4f4b0c51c8405a6e55120656df6e0754bd25aee0" have entirely different histories.
f0a1c6e61f
...
4f4b0c51c8
@ -244,7 +244,7 @@ void GfxRenderer::drawButtonHints(const int fontId, const char* btn1, const char
|
||||
const int pageHeight = getScreenHeight();
|
||||
constexpr int buttonWidth = 106;
|
||||
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 buttonPositions[] = {25, 130, 245, 350};
|
||||
const char* labels[] = {btn1, btn2, btn3, btn4};
|
||||
|
||||
@ -337,6 +337,8 @@ void CrossPointWebServerActivity::render() const {
|
||||
}
|
||||
|
||||
void CrossPointWebServerActivity::renderServerRunning() const {
|
||||
const auto pageHeight = renderer.getScreenHeight();
|
||||
|
||||
// Use consistent line spacing
|
||||
constexpr int LINE_SPACING = 28; // Space between lines
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user