From 0724b54018c379850e672ad6571e05b3f848150d Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Mon, 24 Aug 2020 13:45:08 +0200 Subject: Added window borders --- libgui/inc/gui.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libgui/inc') 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); /** -- cgit v1.2.3