aboutsummaryrefslogtreecommitdiff
path: root/src/draw.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/draw.h')
-rw-r--r--src/draw.h7
1 files changed, 5 insertions, 2 deletions
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 <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;