aboutsummaryrefslogtreecommitdiff
path: root/menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'menu.c')
-rw-r--r--menu.c4
1 files changed, 3 insertions, 1 deletions
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, '>');
}