mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-16 00:05:40 +02:00
particles: all particles can have a decoration
This commit is contained in:
parent
311193751c
commit
307a1f5ec8
2 changed files with 3 additions and 3 deletions
|
@ -22,12 +22,13 @@ struct particle_info {
|
|||
size_t attr_count; /* TODO: reomve, NULL-terminate attr list instead */
|
||||
const struct attr_info attrs[];
|
||||
|
||||
#define PARTICLE_COMMON_ATTRS_COUNT 4
|
||||
#define PARTICLE_COMMON_ATTRS_COUNT 5
|
||||
#define PARTICLE_COMMON_ATTRS \
|
||||
{"margin", false, &conf_verify_int}, \
|
||||
{"left-margin", false, &conf_verify_int}, \
|
||||
{"right-margin", false, &conf_verify_int}, \
|
||||
{"on-click", false, &conf_verify_string}, \
|
||||
{"deco", false, &conf_verify_decoration}, \
|
||||
{NULL, false, NULL}
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue