mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-20 17:35:39 +02:00
Populate fields: top_margin, bottom_margin
This commit is contained in:
parent
0ab621c82b
commit
2f7c5ce463
3 changed files with 18 additions and 8 deletions
|
@ -29,7 +29,7 @@ particle_default_destroy(struct particle *particle)
|
|||
}
|
||||
|
||||
struct particle *
|
||||
particle_common_new(int left_margin, int right_margin,
|
||||
particle_common_new(int left_margin, int right_margin, int top_margin, int bottom_margin,
|
||||
const char **on_click_templates,
|
||||
struct fcft_font *font, enum font_shaping font_shaping,
|
||||
pixman_color_t foreground, struct deco *deco)
|
||||
|
@ -37,6 +37,8 @@ particle_common_new(int left_margin, int right_margin,
|
|||
struct particle *p = calloc(1, sizeof(*p));
|
||||
p->left_margin = left_margin;
|
||||
p->right_margin = right_margin;
|
||||
p->top_margin = top_margin;
|
||||
p->bottom_margin = bottom_margin;
|
||||
p->foreground = foreground;
|
||||
p->font = font;
|
||||
p->font_shaping = font_shaping;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue