From b4952592aa664410561a9ec78076919f331500f8 Mon Sep 17 00:00:00 2001 From: Federico Amedeo Izzo Date: Thu, 26 Nov 2020 17:18:53 +0100 Subject: [PATCH] UI: Add alternative Splash Screen --- openrtx/src/ui.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/openrtx/src/ui.c b/openrtx/src/ui.c index 8ed673e0..9ef9d0db 100644 --- a/openrtx/src/ui.c +++ b/openrtx/src/ui.c @@ -283,6 +283,14 @@ void ui_drawSplashScreen() yellow_fab413); } +void ui_drawSplashScreen2() +{ + point_t splash_origin = {0, SCREEN_HEIGHT / 2 - 6}; + gfx_clearScreen(); + gfx_print(splash_origin, "O P N\nR T X", FONT_SIZE_12PT, TEXT_ALIGN_CENTER, + yellow_fab413); +} + bool ui_update(state_t last_state, uint32_t keys) { (void) keys;