From f40be8b5b6227775901a99946779661d0b4439e6 Mon Sep 17 00:00:00 2001
From: Marvin Borner
Date: Sun, 1 Nov 2020 12:35:00 +0100
Subject: Added files demo and needed functions

---
 libgui/inc/gui.h | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'libgui/inc')

diff --git a/libgui/inc/gui.h b/libgui/inc/gui.h
index 8ed8f4e..90e07ae 100644
--- a/libgui/inc/gui.h
+++ b/libgui/inc/gui.h
@@ -61,6 +61,7 @@ struct element {
 	u32 window_id;
 	struct context *ctx; // Coordinates are relative to container
 	struct element_event event;
+	void *attributes;
 	struct list *childs;
 	void *data; // Who needs static types anyways :)
 };
@@ -96,5 +97,7 @@ struct element *gui_add_text_input(struct element *container, int x, int y, u32
 				   enum font_type font_type, u32 color_bg, u32 color_fg);
 struct element *gui_add_container(struct element *container, int x, int y, u32 width, u32 height,
 				  u32 color_bg);
+void gui_remove_childs(struct element *elem);
+void gui_remove_element(struct element *elem);
 
 #endif
-- 
cgit v1.2.3