aboutsummaryrefslogtreecommitdiff
path: root/src/draw.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/draw.h')
-rw-r--r--src/draw.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/draw.h b/src/draw.h
index 3e83146..481c080 100644
--- a/src/draw.h
+++ b/src/draw.h
@@ -1,6 +1,7 @@
#ifndef COMET_DRAW_H
#define COMET_DRAW_H
+#include <glib.h>
#include <pango/pango-font.h>
#include <pango/pango-types.h>
@@ -15,10 +16,13 @@ struct Drawable {
int right_pad;
int top_pad;
double alpha;
+ GList *btns;
};
Drawable *draw_create(const char *font, int height, int left_pad, int right_pad, int top_pad, double alpha);
+void draw_set_buttons(Drawable *draw, GList *btns);
+
void draw_paint(Drawable *draw, Window *win);
void draw_destroy(Drawable *draw);