Add rect and colours to node struct

This commit is contained in:
Abdelrahman Said 2024-01-20 22:17:54 +00:00
parent 79b6bc35f0
commit 93b79aa643

View File

@ -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;
};