mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
render: render_osd() now needs a ‘font’ argument
This commit is contained in:
parent
5fe23c0215
commit
4a41575cb5
1 changed files with 3 additions and 3 deletions
6
render.c
6
render.c
|
|
@ -2120,7 +2120,7 @@ render_scrollback_position(struct terminal *term)
|
|||
term,
|
||||
win->scrollback_indicator.surf,
|
||||
win->scrollback_indicator.sub,
|
||||
buf, text,
|
||||
term->fonts[0], buf, text,
|
||||
term->colors.table[0], 0xffu << 24 | term->colors.table[8 + 4],
|
||||
width - margin - wcslen(text) * term->cell_width, margin);
|
||||
}
|
||||
|
|
@ -2154,7 +2154,7 @@ render_render_timer(struct terminal *term, struct timeval render_time)
|
|||
term,
|
||||
win->render_timer.surf,
|
||||
win->render_timer.sub,
|
||||
buf, text,
|
||||
term->fonts[0], buf, text,
|
||||
term->colors.table[0], 0xffu << 24 | term->colors.table[8 + 1],
|
||||
margin, margin);
|
||||
}
|
||||
|
|
@ -3123,7 +3123,7 @@ render_urls(struct terminal *term)
|
|||
(term->margins.top + y) / term->scale);
|
||||
|
||||
render_osd(
|
||||
term, surf, sub_surf, bufs[i], label,
|
||||
term, surf, sub_surf, term->fonts[0], bufs[i], label,
|
||||
fg, 0xffu << 24 | bg, x_margin, y_margin);
|
||||
|
||||
free(info[i].text);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue