From 93c4dc6893e733f563e70c315537922d55adfab2 Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Thu, 14 Mar 2024 02:00:21 +0100 Subject: Refactor code and start adding shine animation --- src/draw.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/draw.h') diff --git a/src/draw.h b/src/draw.h index 26bda6b..8d8a806 100644 --- a/src/draw.h +++ b/src/draw.h @@ -6,7 +6,10 @@ #include #include "window.h" -#include "button.h" + +typedef struct { + double r, g, b, a; +} Color; // The one who draws ('o')7 @@ -22,7 +25,7 @@ typedef struct { } Drawer; typedef struct { - Button *btn; + struct Button *btn; int x, y; int width, height; int text_w, text_h; -- cgit v1.2.3