mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
render: break out rendering functions to render.{c,h}
This commit is contained in:
parent
3ba1721c0f
commit
1947d33868
6 changed files with 707 additions and 744 deletions
10
render.h
Normal file
10
render.h
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
#pragma once
|
||||
|
||||
#include "terminal.h"
|
||||
|
||||
cairo_scaled_font_t *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);
|
||||
Loading…
Add table
Add a link
Reference in a new issue