diff options
Diffstat (limited to 'src/userspace/libgui/init.c')
-rw-r--r-- | src/userspace/libgui/init.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/userspace/libgui/init.c b/src/userspace/libgui/init.c index dfc42eb..7cd1fc3 100644 --- a/src/userspace/libgui/init.c +++ b/src/userspace/libgui/init.c @@ -4,7 +4,19 @@ struct pointers *pointers; +u32 terminal_color[3] = { 0xab, 0xb2, 0xbf }; +u32 terminal_background[3] = { 0x1d, 0x1f, 0x24 }; + void gui_init() { pointers = syscall_pointers(); + + return; // TODO: Fix GUI page fault + vbe_width = pointers->mode_info->width; + vbe_height = pointers->mode_info->height; + vbe_pitch = pointers->mode_info->pitch; + vbe_bpl = pointers->mode_info->bpp >> 3; + fb = pointers->mode_info->framebuffer; + + gui_screen_clear(); }
\ No newline at end of file |