aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/libgui/gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/userspace/libgui/gui.h')
-rw-r--r--src/userspace/libgui/gui.h22
1 files changed, 22 insertions, 0 deletions
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 <stdint.h>
+
+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