config: load decorations. All particles may have one

This commit is contained in:
Daniel Eklöf 2018-12-26 15:31:16 +01:00
parent 0284f5ac85
commit 0094cc1269
2 changed files with 58 additions and 5 deletions

View file

@ -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,