1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
// MIT License, Copyright (c) 2020 Marvin Borner #include <def.h> #include <gui.h> #include <print.h> int main() { print("[test loaded]\n"); struct window *win = gui_new_window(); u32 color[3] = { 0xff, 0xff, 0xff }; gui_fill(win, color); while (1) { yield(); } return 0; }