diff options
| author | Federico Angelilli <code@fedang.net> | 2023-11-19 13:10:54 +0100 |
|---|---|---|
| committer | Federico Angelilli <code@fedang.net> | 2023-11-19 13:10:54 +0100 |
| commit | e774c39c76379738e383e23938f3762b1a57e3b2 (patch) | |
| tree | d9b15c5a4695efc513f23057c8d326c02905811d /src/draw.h | |
| parent | a8a1c47f4c22497c983856c04c099058a42e518b (diff) | |
Add per-button colors
Diffstat (limited to 'src/draw.h')
| -rw-r--r-- | src/draw.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); |
