aboutsummaryrefslogtreecommitdiff
path: root/render.h
blob: 7a79e8825cfd57863e4c312970658e65f7c288ca (plain)
1
2
3
4
5
6
7
8
9
10
11
#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);
void render_update_cursor_surface(struct terminal *term);