From cd6136e4c25ba0bb2e2a3e83bb02cf08478a82ea Mon Sep 17 00:00:00 2001 From: dylanbenzi Date: Sun, 15 Nov 2026 17:08:20 -0500 Subject: [PATCH] modify text positions --- LEDMatrix.cpp | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/LEDMatrix.cpp b/LEDMatrix.cpp index 45fd134..c7d3edc 100644 --- a/LEDMatrix.cpp +++ b/LEDMatrix.cpp @@ -39,12 +39,12 @@ private: FrameCanvas *offscreen = nullptr; std::vector display_text; - Text flight_operator = {"", 0, 14, 0, WHITE}; - Text flight_number = {"", 0, 21, 0, WHITE}; - Text altitude = {"FT", 41, 0, 0, WHITE}; - Text speed = {"KTS", 41, 7, 0, WHITE}; - Text track = {"DEG", 41, 14, 0, WHITE}; - Text vertical_speed = {"VS", 41, 21, 0, WHITE}; + Text flight_operator = {"", 1, 14, 0, WHITE}; + Text flight_number = {"", 1, 21, 0, WHITE}; + Text altitude = {"", 41, 0, 0, WHITE}; + Text speed = {"", 41, 7, 0, WHITE}; + Text track = {"", 41, 14, 0, WHITE}; + Text vertical_speed = {"", 41, 21, 0, WHITE}; const char *ga_logo_path = ""; const char *ufo_logo_path = ""; @@ -136,10 +136,10 @@ public: offscreen = canvas->CreateFrameCanvas(); display_text = { - {"ALT", 24, 0, 0, WHITE}, - {"SPD", 24, 7, 0, WHITE}, - {"TRK", 24, 14, 0, WHITE}, - {"FPM", 24, 21, 0, WHITE}, + {"ALT", 21, 0, 0, WHITE}, + {"SPD", 21, 7, 0, WHITE}, + {"TRK", 21, 14, 0, WHITE}, + {"VS", 28, 21, 0, WHITE}, }; ga_logo = load_logo(ga_logo_path);