diff options
Diffstat (limited to 'menu.c')
-rw-r--r-- | menu.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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, '>'); } |