mirror of
https://codeberg.org/dnkl/yambar.git
synced 2025-06-16 08:15:40 +02:00
particle/map: expose info through the new struct particle_info struct
This commit is contained in:
parent
6379b1939f
commit
73b8bf1346
4 changed files with 88 additions and 84 deletions
|
@ -1,12 +1,4 @@
|
|||
#pragma once
|
||||
#include "../particle.h"
|
||||
|
||||
struct particle_map {
|
||||
const char *tag_value;
|
||||
struct particle *particle;
|
||||
};
|
||||
|
||||
struct particle *particle_map_new(
|
||||
const char *tag, const struct particle_map *particle_map, size_t count,
|
||||
struct particle *default_particle, int left_margin, int right_margin,
|
||||
const char *on_click_template);
|
||||
extern const struct particle_info particle_map;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue