diff options
author | Marvin Borner | 2020-09-20 21:25:24 +0200 |
---|---|---|
committer | Marvin Borner | 2020-09-20 21:25:24 +0200 |
commit | e3b45a6c47868b3002dacbfdedef957b800f308e (patch) | |
tree | 7abca0b71d4a6e432ac4ace282e88bfe8a8ffbd5 /libgui/gui.c | |
parent | b6c8b7df4344d45ced50bea24cbb4de3ef229330 (diff) |
Some Terminus thingies
Diffstat (limited to 'libgui/gui.c')
-rw-r--r-- | libgui/gui.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libgui/gui.c b/libgui/gui.c index 1ff202d..3bbf3d2 100644 --- a/libgui/gui.c +++ b/libgui/gui.c @@ -167,6 +167,16 @@ void gui_border(struct window *win, u32 c, u32 width) gui_redraw(); } +int gui_font_height() +{ + return font->height; +} + +int gui_font_width() +{ + return font->width; +} + void gui_init(char *font_path) { font = psf_parse(read(font_path)); |