aboutsummaryrefslogtreecommitdiff
path: root/libgui/inc
diff options
context:
space:
mode:
authorMarvin Borner2020-08-24 13:45:08 +0200
committerMarvin Borner2020-08-24 13:45:08 +0200
commit0724b54018c379850e672ad6571e05b3f848150d (patch)
treedf24acfb9c9e4d84d816a34b83ef1809b3c9eaec /libgui/inc
parent0a4c8dd2d6048fe9851b8d92a311bba7aaa83a57 (diff)
Added window borders
Diffstat (limited to 'libgui/inc')
-rw-r--r--libgui/inc/gui.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libgui/inc/gui.h b/libgui/inc/gui.h
index 700500e..e0cffdf 100644
--- a/libgui/inc/gui.h
+++ b/libgui/inc/gui.h
@@ -27,9 +27,10 @@ struct window {
};
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_win_on_win(struct window *dest, struct window *src, 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_border(struct window *win, const u32 color[3], u32 width);
void gui_init(char *font_path);
/**