particle: add struct particle_info definition

This commit is contained in:
Daniel Eklöf 2019-01-12 22:36:26 +01:00
parent 297ff512b3
commit f34a341c33

View file

@ -3,13 +3,23 @@
#include <cairo.h> #include <cairo.h>
#include "color.h" #include "color.h"
#include "config-verify.h"
#include "decoration.h" #include "decoration.h"
#include "font.h" #include "font.h"
#include "tag.h" #include "tag.h"
#include "yml.h"
struct bar; struct bar;
struct particle;
struct exposable; struct exposable;
struct particle_info {
struct particle *(*from_conf)(const struct yml_node *node,
const struct font *parent_font);
size_t attr_count; /* TODO: reomve, NULL-terminate attr list instead */
const struct attr_info attrs[];
};
struct particle { struct particle {
void *private; void *private;