aboutsummaryrefslogtreecommitdiff
path: root/src/userspace/libgui/gui.h
diff options
context:
space:
mode:
authorMarvin Borner2020-04-29 13:19:32 +0200
committerMarvin Borner2020-04-29 13:19:32 +0200
commit4f3c75d23188bd480739d6d1514543c95cfe3399 (patch)
treed7306d1e5496becadee6514e3e50bdfc2e37f3e0 /src/userspace/libgui/gui.h
parent50858d043cbd6f61cc091c6772f981ca2d6cca6b (diff)
Started libgui implementation
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