aboutsummaryrefslogtreecommitdiff
path: root/libgui/inc/gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'libgui/inc/gui.h')
-rw-r--r--libgui/inc/gui.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/libgui/inc/gui.h b/libgui/inc/gui.h
index 467496a..ccd4bd9 100644
--- a/libgui/inc/gui.h
+++ b/libgui/inc/gui.h
@@ -19,15 +19,17 @@ struct font {
struct window {
int x;
int y;
- u16 width;
- u16 height;
- struct vbe *vbe;
+ u32 width;
+ u32 height;
u8 *fb;
+ u32 bpp;
+ u32 pitch;
};
+void gui_load_wallpaper(struct window *win, char *path);
+void gui_win_on_win(struct window *src, struct window *dest, int x, int y);
void gui_draw_rectangle(struct window *win, int x1, int y1, int x2, int y2, const u32 color[3]);
void gui_fill(struct window *win, const u32 color[3]);
-void gui_load_wallpaper(struct vbe *vbe, char *path);
void gui_init(char *font_path);
/**