Added font renderer and terminal emulator

This commit is contained in:
Jozef Nagy 2025-05-15 00:55:59 +02:00
parent bc4ec556e2
commit dd4fda27bb
Signed by untrusted user who does not match committer: crz
GPG key ID: 459A4811CEAC7068
22 changed files with 1921 additions and 5151 deletions

View file

@ -20,6 +20,14 @@
#ifndef _UI_FONT_H
#define _UI_FONT_H
void font_init(char *font_path, int initial_size);
#include <stdbool.h>
#include <stdint.h>
struct ui_context;
bool font_init(struct ui_context *ctx, char *font_path, int size);
void font_free(struct ui_context *ctx);
void font_write(struct ui_context *ctx, char *s, uint32_t cx, uint32_t cy);
#endif /* _UI_FONT_H */