aboutsummaryrefslogtreecommitdiff
path: root/libgui/inc
diff options
context:
space:
mode:
authorMarvin Borner2020-08-23 23:02:32 +0200
committerMarvin Borner2020-08-23 23:02:32 +0200
commita1ab3aac9cd9f03a421ff1681c0da3487097deae (patch)
treeab2b322a121e6fed371b96fadc1bdbaeaabd6ee3 /libgui/inc
parentc2cccf6f2ef4f6f8c828074e68be2d95255a89b5 (diff)
Some window buffer switching
Diffstat (limited to 'libgui/inc')
-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);
/**