diff options
| author | Federico Angelilli <code@fedang.net> | 2024-03-14 02:00:21 +0100 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2024-03-14 02:00:21 +0100 |
| commit | 93c4dc6893e733f563e70c315537922d55adfab2 (patch) | |
| tree | 245e84a64fed1dd56cc9e91b4fa415384caf9322 /src/draw.h | |
| parent | 398fdbaa5c02bbd138c59004053d2e8ad0082ead (diff) | |
Refactor code and start adding shine animation
Diffstat (limited to 'src/draw.h')
| -rw-r--r-- | src/draw.h | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -6,7 +6,10 @@ #include <pango/pangocairo.h> #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; |
