Working product with sustainable legacies

This commit is contained in:
2025-10-18 20:44:30 +02:00
parent 65a1c9f159
commit a392132fa9
8 changed files with 178 additions and 54 deletions

5
box.h
View File

@@ -22,7 +22,7 @@ enum box_type {
struct box {
enum box_type type;
enum ui_color color;
double fills;
unsigned int fills;
union {
/* button */
@@ -47,4 +47,5 @@ struct box *new_chart_box(struct chart *);
void append_box(struct box *parent, struct box *child);
void draw_box(struct box *, double x, double y, double width, double height);
void draw_box(struct box *, unsigned int x, unsigned int y, unsigned int width,
unsigned int height);