From e3b45a6c47868b3002dacbfdedef957b800f308e Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 20 Sep 2020 21:25:24 +0200 Subject: Some Terminus thingies --- libgui/gui.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libgui/gui.c') 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)); -- cgit v1.2.3