From 5f341eacdf0d75a4b334969a2d8a4701d61e4d9e Mon Sep 17 00:00:00 2001 From: quou Date: Sun, 7 May 2023 12:53:46 +1000 Subject: Add waves and stuff. --- menu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'menu.c') diff --git a/menu.c b/menu.c index e4e82f5..ab3f7de 100644 --- a/menu.c +++ b/menu.c @@ -69,15 +69,17 @@ void update_menu(Menu* menu) { void render_menu(Menu* menu, const BM_Font* font) { int i, x, y, cw, ch; const Menu_Item* el; + Colour col; y = menu->y; cw = font->char_w; ch = font->char_h; + col = make_colour(0xffde00, 255); for (i = 0; i < menu->el_count; i++) { el = &menu->els[i]; x = renderer_w / 2 - (cw * el->text_len) / 2; - rfont_text(font, x, y, el->text); + rfont_text_col(font, x, y, el->text, col); if (i == menu->selected) { rfont_char(font, x - cw, y, '>'); } -- cgit v1.2.3-54-g00ecf