aboutsummaryrefslogtreecommitdiff
path: root/libgui/gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'libgui/gui.c')
-rw-r--r--libgui/gui.c10
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));