Added font renderer and terminal emulator
This commit is contained in:
parent
bc4ec556e2
commit
dd4fda27bb
22 changed files with 1921 additions and 5151 deletions
|
@ -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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue