Skip to content
Snippets Groups Projects
Commit 000c5ecf authored by q3k's avatar q3k
Browse files

recovery: display version

parent 0e00c90e
No related branches found
No related tags found
No related merge requests found
Pipeline #6324 passed
......@@ -2,6 +2,7 @@
#include "st3m_gfx.h"
#include "st3m_io.h"
#include "st3m_version.h"
// clang-format off
#include "ctx_config.h"
......@@ -26,8 +27,14 @@ static void _header_draw(st3m_ctx_desc_t *target) {
ctx_font_size(target->ctx, 30.0);
ctx_move_to(target->ctx, 0, -80);
ctx_text(target->ctx, "Recovery");
ctx_move_to(target->ctx, 0, -50);
ctx_move_to(target->ctx, 0, -55);
ctx_text(target->ctx, "Mode");
// Draw version.
ctx_font_size(target->ctx, 15.0);
ctx_gray(target->ctx, 0.6);
ctx_move_to(target->ctx, 0, 100);
ctx_text(target->ctx, st3m_version);
}
void rec_erasing_draw(void) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment