aboutsummaryrefslogtreecommitdiff
path: root/render.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-01-04 18:57:16 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-01-04 18:57:16 +0000
commitf29d506f3bd459f1725a6cd2572b0e17a7b734a6 (patch)
tree90679ed3af4074e9080ba37b67a281e1486f6cb4 /render.h
parentdoc: document how to do block selections (diff)
parentterm: more comments in the 'render' sub-struct (diff)
Merge branch 'render-refresh-optimize'
Diffstat (limited to 'render.h')
-rw-r--r--render.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/render.h b/render.h
index ad6b6578..74d9b456 100644
--- a/render.h
+++ b/render.h
@@ -1,9 +1,12 @@
#pragma once
#include "terminal.h"
+#include "fdm.h"
+#include "wayland.h"
-struct font *attrs_to_font(
- const struct terminal *term, const struct attributes *attrs);
+struct renderer;
+struct renderer *render_init(struct fdm *fdm, struct wayland *wayl);
+void render_destroy(struct renderer *renderer);
void grid_render(struct terminal *term);
void render_resize(struct terminal *term, int width, int height);