mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-16 00:05:40 +02:00
config: load decorations. All particles may have one
This commit is contained in:
parent
0284f5ac85
commit
0094cc1269
2 changed files with 58 additions and 5 deletions
|
@ -1,7 +1,9 @@
|
|||
#pragma once
|
||||
|
||||
#include <cairo.h>
|
||||
|
||||
#include "color.h"
|
||||
#include "decoration.h"
|
||||
#include "font.h"
|
||||
#include "tag.h"
|
||||
|
||||
|
@ -12,6 +14,7 @@ struct particle {
|
|||
void *private;
|
||||
|
||||
int left_margin, right_margin;
|
||||
const struct deco *deco;
|
||||
|
||||
void (*destroy)(struct particle *particle);
|
||||
struct exposable *(*instantiate)(const struct particle *particle,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue