From 1947d33868ce57f3d3851ef03ee28482c393f22d Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Fri, 5 Jul 2019 10:16:56 +0200 Subject: render: break out rendering functions to render.{c,h} --- render.h | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 render.h (limited to 'render.h') diff --git a/render.h b/render.h new file mode 100644 index 00000000..0e34a070 --- /dev/null +++ b/render.h @@ -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); -- cgit v1.3