mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-04 04:06:06 -05:00
Our surface may be on multiple outputs at the same time. In this case, we use the largest scale factor, and let the compositor down scale on the "other" output(s).
18 lines
515 B
C
18 lines
515 B
C
#pragma once
|
|
|
|
#include "terminal.h"
|
|
|
|
struct font *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);
|
|
void render_refresh(struct terminal *term);
|
|
|
|
struct render_worker_context {
|
|
int my_id;
|
|
struct terminal *term;
|
|
};
|
|
int render_worker_thread(void *_ctx);
|