aboutsummaryrefslogtreecommitdiff
path: root/src/draw.h
diff options
context:
space:
mode:
authorFederico Angelilli <code@fedang.net>2023-11-19 13:10:54 +0100
committerFederico Angelilli <code@fedang.net>2023-11-19 13:10:54 +0100
commite774c39c76379738e383e23938f3762b1a57e3b2 (patch)
treed9b15c5a4695efc513f23057c8d326c02905811d /src/draw.h
parenta8a1c47f4c22497c983856c04c099058a42e518b (diff)
Add per-button colors
Diffstat (limited to 'src/draw.h')
-rw-r--r--src/draw.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/draw.h b/src/draw.h
index 3d3f7ed..35a9f68 100644
--- a/src/draw.h
+++ b/src/draw.h
@@ -16,6 +16,7 @@ struct Drawable {
int right_pad;
int top_pad;
double alpha;
+ int line_w;
GList *layouts;
PangoFontDescription *desc;
};
@@ -28,7 +29,7 @@ typedef struct {
PangoLayout *pl;
} Layout;
-Drawable *draw_create(const char *font, int height, int left_pad, int right_pad, int top_pad, double alpha);
+Drawable *draw_create(const char *font, int height, int left_pad, int right_pad, int top_pad, double alpha, int line_w);
void draw_compute_layout(Drawable *draw, Window *win, GList *btns);