aboutsummaryrefslogtreecommitdiff
path: root/render.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2019-07-05 08:16:56 +0000
committerDaniel Eklöf <daniel@ekloef.se>2019-07-05 08:16:56 +0000
commit1947d33868ce57f3d3851ef03ee28482c393f22d (patch)
tree3e374a948c6c84aade855fd663850978f427500e /render.h
parentosc: implement change window title and icon (diff)
render: break out rendering functions to render.{c,h}
Diffstat (limited to 'render.h')
-rw-r--r--render.h10
1 files changed, 10 insertions, 0 deletions
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);