Add rect and colours to node struct
This commit is contained in:
parent
79b6bc35f0
commit
93b79aa643
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user