From e774c39c76379738e383e23938f3762b1a57e3b2 Mon Sep 17 00:00:00 2001 From: Federico Angelilli Date: Sun, 19 Nov 2023 13:10:54 +0100 Subject: Add per-button colors --- src/draw.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/draw.h') 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); -- cgit v1.2.3