particle/string: expose info through the new struct particle_info struct

This commit is contained in:
Daniel Eklöf 2019-01-13 10:49:10 +01:00
parent 9f8000b047
commit 7b98ea2b7c
6 changed files with 62 additions and 60 deletions

View file

@ -12,5 +12,8 @@ struct bar *conf_to_bar(const struct yml_node *bar);
* Utility functions, for e.g. modules
*/
struct rgba conf_to_color(const struct yml_node *node);
struct font *conf_to_font(const struct yml_node *node);
struct particle * conf_to_particle(
const struct yml_node *node, const struct font *parent_font);