From 93b79aa643c5babbc9ceec183d82fdeb8facf691 Mon Sep 17 00:00:00 2001 From: Abdelrahman Date: Sat, 20 Jan 2024 22:17:54 +0000 Subject: [PATCH] Add rect and colours to node struct --- include/nodes.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/nodes.h b/include/nodes.h index e6c9bfe..b07a592 100644 --- a/include/nodes.h +++ b/include/nodes.h @@ -2,6 +2,7 @@ #define NODES_H #include "aliases/aliases.h" +#include "ui.h" #include "window.h" #define MAX_NODES 1024 @@ -24,6 +25,8 @@ union node_data { }; struct node { + rect_t rect; + ui_elem_colours_t colours; node_type_t type; node_data_t data; };