mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-04-24 12:55:41 +02:00
particle: add struct particle_info definition
This commit is contained in:
parent
297ff512b3
commit
f34a341c33
1 changed files with 10 additions and 0 deletions
10
particle.h
10
particle.h
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue