1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
// MIT License, Copyright (c) 2021 Marvin Borner #ifndef GUI_H #define GUI_H #include <def.h> #include <gfx.h> struct gui_window { u32 id; struct context *ctx; vec2 *pos; }; s32 gui_new_window(struct gui_window *win); s32 gui_redraw_window(u32 id); #endif