From 4f3c75d23188bd480739d6d1514543c95cfe3399 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Wed, 29 Apr 2020 13:19:32 +0200 Subject: Started libgui implementation --- src/userspace/libgui/gui.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/userspace/libgui/gui.h (limited to 'src/userspace/libgui/gui.h') diff --git a/src/userspace/libgui/gui.h b/src/userspace/libgui/gui.h new file mode 100644 index 0000000..b056dea --- /dev/null +++ b/src/userspace/libgui/gui.h @@ -0,0 +1,22 @@ +#ifndef MELVIX_GUI_H +#define MELVIX_GUI_H + +#include + +struct font { + u16 font_32[758][32]; + u16 font_24[758][24]; + u8 font_16[758][16]; + u16 cursor[19]; +}; + +struct pointers { + u8 *fb; + struct font *font; +}; + +struct pointers *pointers; + +void gui_init(); + +#endif \ No newline at end of file -- cgit v1.2.3