mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
To avoid having to re-generate glyphs, cache the glyphs. For now, we only cache ASCII characters, as this allows us to lookup the cache by simply indexing with the character (into a 256-entry array).
11 lines
356 B
C
11 lines
356 B
C
#pragma once
|
|
|
|
#include "terminal.h"
|
|
|
|
struct font *attrs_to_font(
|
|
struct terminal *term, const struct attributes *attrs);
|
|
|
|
void grid_render(struct terminal *term);
|
|
void render_resize(struct terminal *term, int width, int height);
|
|
void render_set_title(struct terminal *term, const char *title);
|
|
void render_update_cursor_surface(struct terminal *term);
|